Triggered when the dropdown value is changed.
Parameters
Name | Type | Description |
---|---|---|
e | {object} | event data |
Examples
sample
<select id="dropdown" width="200">
<option value="1">One</option>
<option value="2" selected>Two</option>
<option value="3">Three</option>
</select>
<script>
$('#dropdown').dropdown({
change: function (e) {
alert('Change is fired');
}
});
</script>