Skip to content
Advertisement

Open bootstrap modal using Javascript in PHP

I’m trying to open bootstrap modal after login failed, I used the following code:

JavaScript

And I incloud jQuery 1.12.4 in HTML head

JavaScript

Nothing happen, The LoginFailed modal not showing up !!

I also trying the solution HERE but no luck.

Any help?

Advertisement

Answer

See exemple

I tried to tailor the exemple to yours. NOTE: In JSFiddle it will not be accurate since it only runs js css and HTML

You need to use

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement