Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery unselect option

$("option:selected").removeAttr("selected"); //solution 1
$("option:selected").prop("selected", false); //solution 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #unselect #option
ADD COMMENT
Topic
Name
9+5 =