Search code examples
jquery-uijquery-ui-multiselect

Reload Jquery-ui multiselects


I'm trying to call the uncheck all programatically:

$("#myDropdown").multiselect("uncheckall");

and it's not working.

How can I do the uncheckAll?


Solution

  • The documentation is not good for this plugin:

    I found a previous issue: https://github.com/ehynds/jquery-ui-multiselect-widget/issues/556

    You just need to use "uncheckAll" instead "uncheckall"

    $("#myDropdown").multiselect("uncheckAll");