Linked Questions

174 votes
10 answers
240k views

Is it possible to use JavaScript to open an HTML select to show its option list?
Darryl Hein's user avatar
5 votes
3 answers
29k views

Possible Duplicate: How can you programmatically tell an HTML SELECT to drop down (for example, due to mouseover)? Is it possible to make the dropdown on a select element visible with jQuery? I ...
Hailwood's user avatar
  • 93.2k
11 votes
2 answers
27k views

Possible Duplicate: How can you programmatically tell an HTML SELECT to drop down (for example, due to mouseover) Is there a way to programmatically display/open a drop down menu (<select>)?
nickf's user avatar
  • 548k
6 votes
2 answers
14k views

Possible Duplicate: How can you programmatically tell an HTML SELECT to drop down (for example, due to mouseover)? Is it possible to open the drop down list of a Select element when the Select ...
user1021111's user avatar
3 votes
2 answers
6k views

I have a simple html dropdown, I wants to use jQuery if possible to display all the options if this control has the focus(as if the user click on the dropdown). I have tried jQuery trigger(), click(), ...
user259727's user avatar
0 votes
1 answer
9k views

Is this even possible to open drop down list with options of item by click on the in js/jquery? Could You help with this, any advice?
gregp's user avatar
  • 71
1 vote
1 answer
4k views

I have a select element in my HTML: <select id="dropdown"> <option value="1">First</option> <option value="2">Second</option> </select> It renders as a ...
Arry's user avatar
  • 1,035
0 votes
2 answers
3k views

it is possible to open drop down list without mouse click and using pure JavaScript ?
user3002237's user avatar
0 votes
1 answer
2k views

Here is the issue, which one I am not able solve. In my page, I am having a select menu. Beside the select menu, one button. What I want is, when I click the button, the select menu will open. Here is ...
naresh kumar's user avatar
  • 2,261
0 votes
0 answers
528 views

I would like to know if there is an event in Firefox that opens an html select. In Chrome 'mousedown' works, but in Firefox it doesn't. My code is something like event = new MouseEvent('mousedown',{...
marcosh's user avatar
  • 9,038
-2 votes
3 answers
97 views

I have following html <div> <span>Click me</span> <select> <option value="1" selected="selected">1</option> <option value="2">2</...
sam No1's user avatar
  • 153
3 votes
1 answer
146 views

Possible Duplicate: How can you programmatically tell an HTML SELECT to drop down (for example, due to mouseover)? Show select dropdown in jQuery? Suppose i have an select element like this: &...
Alega Meinstream's user avatar
1 vote
0 answers
56 views

I'm trying to open up the <select> list that a browser renders upon a regular click from a <button>. I tried const select = document.querySelector('select'); select.click(); Nothing ...
Morgan Wilde's user avatar
  • 17.5k
1 vote
0 answers
26 views

i need to simulate a click event on a select element to show the options. i found this http://jsfiddle.net/joya/rD3nn/ but it don't work in chrome and firefox. In safari it works. this is my code: $...
Pla558's user avatar
  • 321
91 votes
15 answers
172k views

For this dropdownlist in HTML: <select id="countries"> <option value="1">Country</option> </select> I would like to open the list (the same as left-clicking on it). Is this ...
Jon Tackabury's user avatar

15 30 50 per page
1
2 3 4 5 6