Solved

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

Posted on 2011-02-14
3
359 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add a little space on either side of a table. 12 25
Html date format 9 20
HTML INPUT 6 18
aria difference 2 14
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

749 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