[development] Form API and enter key press

Andrew Berry andrewberry at sentex.net
Wed Mar 3 19:55:12 UTC 2010


On 2010-03-03, at 6:01 AM, Pierre Rineau. wrote:

> Found my own solution, a jQuery based script that searchs for a specific
> class on form input elements and trick the browser by preprending a
> cloned version of the default submit button on top of the form.

When I've dealt with this in the past, I've caught the input event and fired the appropriate action. How does that compare to your solution?

--Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2676 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20100303/7fea8e25/attachment.bin 


More information about the development mailing list