how to get the select tag jquery code example
Example 1: jquery selected option text
$("#mySelect option:selected").html();
Example 2: jquery get all select options
//looping through options select with jQuery
$("#mySelectID option").each(function(){
var thisOptionValue=$(this).val();
});
Example 3: select box get value
// reference to 'scripts' select list
// used throughout the examples below
var sel = document.getElementById('scripts');
// display value property of select list (from selected option)
console.log( sel.value );