Skip to content Skip to sidebar Skip to footer

Bootstrap Model Window Not Showing By Calling Through Jquery

What I am trying to do is that pop up a bootstrap js model by using jquery call that is $('#id').modal('show') but it's not working in any case, there are several cases mentione

Solution 1:

I was going through some other post

TypeError: $(...).modal is not a function with bootstrap Modal

and I replaced

 $("#id").modal("show")

with

jQuery("#id").modal("show") 

and this trick worked here and it started working. Still I don't know the reason like why it wasn't working with $.

One more thing, we need to include the jQuery.noConflict(); above then the statement to avoid repetitions.

Post a Comment for "Bootstrap Model Window Not Showing By Calling Through Jquery"