I have a form containing a drop-down <select> menu and a text field
what do I need to do so that if the user selects an item in the drop-down menu and then clicks in the text field, the drop-down is reset back the first index
I guess I would need to use something like
but what do I need to put in resetMenu() so that it resets the menu back to the first index ?PHP Code:
<input type="text" onfocus="resetMenu()"