Answers for "how to deselect an option in a select box in jquery"

0

jquery unselect option

$("option:selected").removeAttr("selected"); //solution 1
$("option:selected").prop("selected", false); //solution 2
Posted by: Guest on May-12-2021

Code answers related to "how to deselect an option in a select box in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language