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);
});

Comments

Popular posts from this blog

WP register_post_type() with custom CMB2 meta box

Git post receive setup at server for git push to the production from local machine