Pressing enter in a form and not submitting it

    Date: 10/29/07 (Javascript Community)    Keywords: html

    How would I make it so that when you press 'enter' whilst inside a text box it presses a HTML button (not a submit button) rather than submitting the form?

    Source: http://community.livejournal.com/javascript/144372.html

« One problem, similar to... || JS to mooTools friendly... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home