Deselect all options in dropdown with jQuery

Here's how you deselect all the values in a dropdown with jQuery

$("#dropdown").each(function(){
$("#dropdown").removeAttr("selected");
});

Leave a comment