In the case of a <select multiple> the .val() function takes/returns an array, so you can simply pass in an empty array to clear the selection, like this:
$("#selectID").val([]);
You can test it out here.
In the case of a <select multiple> the .val() function takes/returns an array, so you can simply pass in an empty array to clear the selection, like this:
$("#selectID").val([]);
You can test it out here.