Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
jQuery

Select Dropdown Handling in jQuery

Read/set selected options and respond to change.

Select Dropdown Handling in jQuery — a practical guide to jQuery select dropdown with clear examples you can reuse in real projects.

jQuery Tutorial Series (62/101). Prefer one article? Read the complete jQuery tutorial.

Short description

For multi-select, .val() returns an array.

Select

$('#city').val('nyc');
$('#city').on('change', function () {
  loadZones($(this).val());
});

Leave a reply

Your email address will not be published. Required fields are marked *