My PHP code goes awry when the user hits ENTER
after putting the cursor in a form's input field.
I'd disable the fields, but I want to enable the user
to update the data.
But I only want him to update the stuff after he hits the "Update" button.
How do I ensure via javascript that nothing happens if he
hits the ENTER key inside one of the form fields,
and only the UPDATE button can yield the update?
after putting the cursor in a form's input field.
I'd disable the fields, but I want to enable the user
to update the data.
But I only want him to update the stuff after he hits the "Update" button.
How do I ensure via javascript that nothing happens if he
hits the ENTER key inside one of the form fields,
and only the UPDATE button can yield the update?