about 7 years ago
If we want to apply condition on changing of specific indexed value of select box we simply do this:
$('#select_id').change(function(){ if(((parseInt($('option:selected',$(this)).val()))==2)||((parseInt($('option:selected',$(this)).val()))==3)||((parseInt($('option:selected',$(this)).val()))==4)||((parseInt($('option:selected',$(this)).val()))==5)){ // do something.. } else { // do something else.. } });
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)