javascript - jQuery do something when select options' values are not empty/NULL -
here's scenario. supposing have multiple <select>
's on page (can 0,1,2,3,4 or more) , want piece of code fire when option values not equal ""
or null
. there quick fire method in jquery find this? selects in <div>
tag class of class="variations"
no useful classes or id's selects present dynamically generated based on current page/product id.
i can work when 1 or other not equal ""
or null can't seem fire when both selected (and fire again when both unselected, if makes sense).
Comments
Post a Comment