I was trying to find the same thing and got disappointed.
I ended up changing the attribute size for the select box so it appears to open
$('#countries').attr('size',6);
and then when you’re finished
$('#countries').attr('size',1);
More Related Contents:
- jQuery Get Selected Option From Dropdown
- How to retrieve checkboxes values in jQuery
- Auto-scaling input[type=text] to width of value?
- Randomize a sequence of div elements with jQuery
- Find text string in jQuery and make it bold
- jquery – Click event not working for dynamically created button [duplicate]
- Ajax in Jquery does not work from local file
- Hide Twitter Bootstrap nav collapse on click
- JQuery ui – date picker, disabling specific dates
- Adding data attribute to DOM
- How can I show and hide elements based on selected option with jQuery?
- jQuery Scroll to Div
- expand/collapse table rows with JQuery
- How to stay on current window when the link opens in new tab?
- How can I display a tooltip on an HTML “option” tag?
- Bootstrap throws Uncaught Error: Bootstrap’s JavaScript requires jQuery [closed]
- jQuery get the id/value of element after click function
- switch audio source with jquery and HTML5 audio tag
- Removing file from multiple files uploader on button click when using HTML5 file input
- Creating a hole in a element
- CORS request – why are the cookies not sent?
- How can I change HTML attribute names with jQuery?
- jquery .slideToggle() horizontal alternative?
- jquery can’t get data attribute value
- Animate counter when in viewport
- How add spaces between Slick carousel item
- Datatables warning(table id = ‘example’): cannot reinitialise data table
- jQuery web page height
- jQuery: find input field closest to button
- How do I select an element with special characters in the ID?