Answers for "how to unselect all selected option 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
3

remove all options from select jquery

$('#mySelect')
    .empty()
Posted by: Guest on March-18-2020

Code answers related to "how to unselect all selected option in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language