[jQuery] submitting the form by pressing ENTER
Hi,
I have a form
<form id="previewForm" name="previewForm">
with two buttons and a text field. What I would like is when I press
enter on the text field, a JS function is invoked. What is the JQuery
syntax to trigger this?
Thanks, - Dave