Wednesday 2 May 2018

clear all checkbox in multiselect dropdown using jquery


clear all checkbox in multiselect dropdown using jquery

Description:


In this example we explain that how to clear all checkbox in multiselect dropdown using jQuery in asp.net. or quick way to clear all selections on a multiselect using jQuery in asp.net. or jQuery-bootstrap multiselect –De-Select /Uncheck all option. Or how to Uncheck all the option of multiselect dropdown using jQuery. Or how to clear selected checkbox value in bootstrap multiselect dropdown using jQuery.

So below is the code for the how to clear values from multiple select dropdown using jQuery. You can use both line as you wish
Code:

  $("#ddlEnvironment option:selected").prop("selected", false);
        $('#ddlEnvironment').multipleSelect('refresh');



0 comments:

Post a Comment