[development] Submit via AJAX by pressing Enter

Darren Oh darrenoh at sidepotsinternational.com
Fri Jul 16 12:21:00 UTC 2010

Does Drupal 7 provide a way to AJAX-submit a form when the Enter key is pressed in a text field? I tried using "submit" as the event in the #ajax array, but that didn't prevent a page reload.

More information about the development mailing list