If you want to get the option set value during the change option set then you can use this code block.
$(document).ready(function(){
$('#std_type').on('change',(std_typevalue) => {
var requestTypeValue = std_typevalue.target.value; // Get value
var requestTypeText = $( "#std_type option:selected" ).text(); // Get text value
});
});
Comments
Post a Comment