Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / February 2008



Tip: Looking for answers? Try searching our database.

Enter/Return Key Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tyv - 29 Feb 2008 00:00 GMT
Hi,

I encountered a bug on a website that I am working on.  The enter/
return key function works in certain parts of the website and doesn't
work in other parts.  I went through all the scripts but I'm not sure
why the function does not work for this part.  Does anyone have any
suggestions/scripts that would work in this case?

I am working with javascript, ASP files and html.

Thanks for any help you can offer.

Tyv
Joost Diepenmaat - 29 Feb 2008 00:10 GMT
> Hi,
>
> I encountered a bug on a website that I am working on.  The enter/
> return key function works in certain parts of the website and doesn't
> work in other parts.

What enter/return key functions are you talking about? All default key
bindings (especially the enter/return key bindings) are browser-
specific and usually dependent on whatever element (if any) has focus at
the time.

>  I went through all the scripts but I'm not sure
> why the function does not work for this part.  Does anyone have any
> suggestions/scripts that would work in this case?

It's probably an error on line 12 of the function.

Signature

Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/

Evertjan. - 29 Feb 2008 08:22 GMT
Joost Diepenmaat wrote on 29 feb 2008 in comp.lang.javascript:

>> Hi,
>>
[quoted text clipped - 12 lines]
>
> It's probably an error on line 12 of the function.

... and next time use Coke zero when inundating your keyboard.

Signature

Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Nick Fletcher - 29 Feb 2008 00:54 GMT
> Hi,
>
[quoted text clipped - 9 lines]
>
> Tyv

There's probably a keyup event handler on the elements that don't work
with some code to prevent default browser behaviour.
abaqueiro - 29 Feb 2008 18:35 GMT
> Hi,
>
[quoted text clipped - 9 lines]
>
> Tyv

probably a flash movie, capturing the event
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.