Skip to content Skip to sidebar Skip to footer

Bootbox Not Is Not Showing Pop Up Modal

I have downloaded bootbox.js in my project and implemented this code to show the pop up modal dialog but nothing errors or success result is printed in my console.I am getting conf

Solution 1:

You have used the wrong selector. You used tag instead of class for 'switch'. You need to use

$('.switch input[type="checkbox"]')

instead.

Ref. https://api.jquery.com/category/selectors/

Also, make sure you have added the dependencies - jquery and bootstrap. Working version - http://jsfiddle.net/grrakesh4769/85etyhfc/3/

Post a Comment for "Bootbox Not Is Not Showing Pop Up Modal"