I know this is pretty old and answered, but this worked for me in Safari and iOS UIWebView – I have it hidden, but want it to show and open when a different button is clicked.
$('#select-id').show().focus().click();
More Related Contents:
- jQuery.click() vs onClick
- Check if an image is loaded (no errors) with jQuery
- Using jQuery to test if an input has focus
- jQuery click events firing multiple times
- How to wait for the ‘end’ of ‘resize’ event and only then perform an action?
- Check if event exists on element [duplicate]
- How to detect online/offline event cross-browser?
- How to differentiate single click event and double click event?
- How to detect escape key press with pure JS or jQuery?
- Detect multiple keys on single keypress event in jQuery
- How to trigger jQuery change event in code
- How to bind Events on Ajax loaded Content?
- Event delegation vs direct binding when adding complex elements to a page
- Detect Close windows event by jQuery
- window.resize event firing in Internet Explorer
- jQuery change event on not firing in IE
- How to detect if the user clicked the “back” button
- How can I get jQuery .val() AFTER keypress event?
- jQuery event that triggers after CSS is loaded?
- Why is ‘event’ available globally in Chrome but not Firefox?
- Get the clicked object that triggered jquery blur() event [duplicate]
- Can you have a JavaScript hook trigger after a DOM element’s style object changes?
- Drop event not firing in chrome
- Moving a focus when the input text field reaches a max length
- Disabling middle click scrolling with javascript
- Fullscreen API: Which events are fired?
- jQuery Datepicker “After Update” Event or equivalent
- jQuery .on() method doesn’t see new elements
- Cancel click event in the mouseup event handler
- jQuery event bubbling