Well, you cannot attach click
event to html select
but you can do this tricky thing…
Take a look at here:
Live DEMO:
More Related Contents:
- How to bind ‘touchstart’ and ‘click’ events but not respond to both?
- jQuery same click event for multiple elements
- How do I catch an Ajax query post error?
- jQuery Validation Plugin – adding rules that apply to multiple fields
- jquery get HTML 5 Data Attributes with hyphens and Case Sensitivity
- jQuery Datepicker with text input that doesn’t allow user input
- jQuery validator and a custom rule that uses AJAX
- jquery ui Dialog: cannot call methods on dialog prior to initialization
- Retrieve Button value with jQuery
- Form Submit jQuery does not work
- Is there a version of $getJSON that doesn’t use a call back?
- How to set encoding in .getJSON jQuery
- jQuery Plugin: Adding Callback functionality
- Twitter Bootstrap – Tabs – URL doesn’t change
- Extending an existing jQuery function
- Can I fade in a background image (CSS: background-image) with jQuery?
- Populate dropdown select with array using jQuery
- Removing html5 required attribute with jQuery
- Getting the actual, floating-point width of an element
- Data attribute value updated by jquery is not visible in DOM
- How can I find the closest previous sibling with class using jQuery?
- Validate dynamic field jquery
- CSS for the “down arrow” on a element?
- jQuery – draggable images on iPad / iPhone – how to integrate event.preventDefault();?
- jQuery how to undo a select change
- Problem when retrieving text in JSON format containing line breaks with jQuery
- Cleanest way to get the next sibling in jQuery
- Basic how-to for cross domain jsonp
- Toggle width with jQuery
- JQuery-Mobile collapsible expand/collapse event