Solved

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

Posted on 2011-02-14
3
349 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now