Binding on select the correct way
Using backbone and selectpicker
events: {
"change #exportDestinations": "fixButtonStates"
}
Just this line is required, it will support both keyup event and onChange - even if it you dont leave focus and use keyboard only. The only reason this could not work is if your option name are the same, then it wont detect change.
Using plain javascript:
on: "keyup change"
Using jQuery:
Recent Comments