how to deselect selected option in jquery code example
Example 1: jquery selected option
$( "#myselect option:selected" ).val();
Example 2: access selected option in jquery
$( "#myselect option:selected" ).text();
// => "Mr"
$( "#myselect option:selected" ).val();
$( "#myselect option:selected" ).text();
// => "Mr"