is there a way to unselect all items of a listbox using jquery without looping through each item?
jQuery is designed to work with multiple elements at the same time:
$(listboxSelector).find("option").attr("selected", false);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With