jquery select option where value is code example Example: jquery selected option $( "#myselect option:selected" ).val();