I use this multiselect and I want to use deselect all method using jquery. How can I do it
You need to call uncheckAll
function of multiselect
like this:
$("select").multiselect('uncheckAll');
Also, keep in mind, you don't want to deselect all select tags in your page, so you have to use a selector using data
or class
or name
attributes for the select tag you're targeting.