Skip to content Skip to sidebar Skip to footer

Laravel 5.8 Bootstrap Not Working In Jquery

i am using https://developer.snapappointments.com/bootstrap-select/examples/ its working fine in view but when i using this in Jquery below code its not working. help me to fix thi

Solution 1:

after click $('.addRow') u need to re-render selectpicker

You can force a re-render of the bootstrap-select ui with the render method. This is useful if you programatically change any underlying values that affect the layout of the element.

$(document).on('click','.addRow',function(){
    addRow();
    $('.selectpicker').selectpicker('refresh');

});

Post a Comment for "Laravel 5.8 Bootstrap Not Working In Jquery"