I\'m trying to add bootstrap toggle switch dynamically but it does not display well after adding it. Thanks for your help!
Add Bootstrap toggle js after your main js file
Then call bootstrapswitch statement in your js file
$('.your_toggle_class_name').bootstrapSwitch('state', true);