Do I have to iterate through ALL the and set remove the \'selected\' attribute or is there a better way?
In order to clear all selection, I am using like this and its working fine for me. here is the script:
$("#ddlMultiselect").multiselect("clearSelection"); $("#ddlMultiselect").multiselect( 'refresh' );