tyv Posted February 29, 2008 Share Posted February 29, 2008 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 (this is opposed to actually clicking submit). 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 Link to comment Share on other sites More sharing options...
jeffman Posted February 29, 2008 Share Posted February 29, 2008 Better post the relevent code. Just the parts you think are broken. Link to comment Share on other sites More sharing options...
justsomeguy Posted March 4, 2008 Share Posted March 4, 2008 Scripts don't control the enter key, the browser does that. If a form has focus and you hit enter the browser will submit the form, unless it's a textarea that has focus. If a form does not have focus I don't think pressing enter does anything. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.