Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

747 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

8 Experts available now in Live!

Get 1:1 Help Now