bootstrap-multiselect icon indicating copy to clipboard operation
bootstrap-multiselect copied to clipboard

Multiselect Drop Down is not working/responding after Ajax Post

Open mallikkolli987 opened this issue 6 years ago • 5 comments

Multiselect not responding after Ajax Post

mallikkolli987 avatar Aug 13 '18 07:08 mallikkolli987

$.ajax({ async: true, type: "POST", url: 'CandidateList', data: { __RequestVerificationToken: $("input[name=__RequestVerificationToken]").val(), candidateNames: test }, success: function (result) {

            $("body").html(result);
            $("#Progress").multiselect({ includeSelectAllOption: true, buttonWidth: '200px' }); //Not Working
         $('#Progress').multiselect('rebuild');//Not Working

$('#Progress').multiselect('refresh');//Not Working

mallikkolli987 avatar Aug 14 '18 09:08 mallikkolli987

Does somebody can solve this problem? I had the same problem

shuhratjan avatar May 29 '19 10:05 shuhratjan

am also having the same problem, can anyone fix this issue

kiruthiak avatar Jun 17 '20 05:06 kiruthiak

same here

yousafitpro avatar Nov 07 '22 17:11 yousafitpro

step 1: Load the element first with options through jquery or any other source. step 2: Apply .multiselect({ includeSelectAllOption: true}) this option true for it.

Note: if You apply includeSelectAllOption: true first then it will dropdown or listbox will not work

DipakShigwan avatar Apr 07 '23 13:04 DipakShigwan