Question:Consider an HTML form with a checkbox and a text field. When data is entered and the return key is pressed, the data seems to be lost before the user can click on the button that calls the processing function. How do you correct this?
A Add a TYPE=HIDDEN INPUT to the form
B Trap the return keypress and return (null)
C Add 'return false' to onsubmit="..." in the FORM tag
D Instruct the user not to press the Return key
+ AnswerB
+ Report