set value of select tag using jquery code example
Example 1: 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 );
Example 2: jquery get selected option value
jquery get selected option value