Link to home
Start Free TrialLog in
Avatar of Brad Bansner
Brad Bansner

asked on

keystroke to default to top (empty) value of drop-down menu in select / option tag

I need to find a keystroke in Internet Explorer (Windows) that will set a drop-down menu to the top value, which looks like this:

<option value=""></option>

I tried changing them to spaces:

<option value=" "> </option>

...but hitting the spacebar still doesn't move it. What I need is similar to how you can hit a letter, such as H on your keyboard, and it takes you to the first alphabetical H listing in the drop-down menu. But I want it to go to the very top instead.

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of CCSOFlag
CCSOFlag
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brad Bansner
Brad Bansner

ASKER

Perfect, thank you!
no problem.