Getting selected Index text in on change event
$('#visa_type_id').on('change',function(){
var visa_type = this.options[this.selectedIndex].text;
alert(visa_type);
});
var visa_type = this.options[this.selectedIndex].text;
alert(visa_type);
});
Comments
Post a Comment