Answers for "get selected option event jquery javascript"

1

.on change get value

$('select').on('change', function() {
  alert( this.value );
});
Posted by: Guest on February-11-2020
1

jquery get selected option value

$("select.your-select").change(function(){ 
	$(this).children("option:selected").val();
});
Posted by: Guest on September-10-2020

Code answers related to "get selected option event jquery javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language