Solved

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

Posted on 2011-02-14
3
358 Views
Last Modified: 2013-12-08
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!
0
Comment
Question by:bbdesign
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
CCSOFlag earned 500 total points
ID: 34892427
the "home" key
0
 

Author Comment

by:bbdesign
ID: 34897496
Perfect, thank you!
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 34897579
no problem.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question