Reputation: 383
I'm trying to fire a click event on my select options.
This is working fine in FF/Safari if the selectlist is a normal multiselect box like this:
However, if i include the jQuery Mobile framework, the click event does not trigger anymore:
Anyone?
Upvotes: 1
Views: 7414
Reputation: 150313
The click
event on <option>
isn't standard and thus not supported in all browsers.
You should use the onchange
event instead of onclick
.
You can read all the Q&A in this search, this is the subject for all of them...
Upvotes: 1