I need to select all items in a ListBox when a CheckBox is clicked. Is it possible to select all items in the ListBox using a single line of code? Or will I have to loop thr
Select All is definetly available out of the box:
$("#ListBoxID option").prop("selected", true);