I\'m having a problem in Chrome
with the following:
var items = $(\"option\", obj);
items.each(function(){
$(this).click(function(){
Looking for this on 2018. Click event on option tag, inside a select tag, is not fired on Chrome.
Use change event, and capture the selected option:
$(document).delegate("select", "change", function() {
//capture the option
var $target = $("option:selected",$(this));
});
Be aware that $target may be a collection of objects if the select tag is multiple.