• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Window Modal does not work

#1
Hello.

I'm setting up a CRUD. At the end of some routines, INSERT, EDIT etc I want you to either show a success message or not. I thought about using MODAL BOOTSTRAP.
1- I have already inserted all the .js files in the header.htmk file
2- I already put jquery.min.js before bootstrap.min.js
3- I also inserted bootstrap-modal.js
4- I already inserted this code, at the end and at the beginning of the screen that I want to show the MODAL:
<script type = "text / javascript">
     $ (window) .load (function () {$ ('# myModal'). modal ('show');
      });
</ script>
5- I have already put this code instead of the code above:

$ (document) .ready (function () {
   $ ('# myModal'). modal ('show');
});
 In the model I do the INSERTS, UPDATES and DELETES, and after that I call a view to give a message. I was using a very beginner model:
<div class = "alert alert-success" role = "alert">
<? php $ msg; ?>
</ div>
And I decided to try the MODAL.
But it does not work.
Reply


Messages In This Thread
Window Modal does not work - by RRIOS - 06-08-2019, 10:53 AM
RE: Window Modal does not work - by php_rocs - 06-08-2019, 08:42 PM
RE: Window Modal does not work - by RRIOS - 06-09-2019, 06:53 AM
RE: Window Modal does not work - by InsiteFX - 06-09-2019, 03:05 AM
RE: Window Modal does not work - by RRIOS - 06-09-2019, 06:52 AM
RE: Window Modal does not work - by PaulD - 06-09-2019, 08:22 AM
RE: Window Modal does not work - by RRIOS - 06-10-2019, 06:29 AM
RE: Window Modal does not work - by php_rocs - 06-10-2019, 08:23 AM
RE: Window Modal does not work - by RRIOS - 06-10-2019, 02:10 PM
RE: Window Modal does not work - by hamanalda - 06-10-2019, 06:36 PM
RE: Window Modal does not work - by RRIOS - 06-11-2019, 07:25 AM
RE: Window Modal does not work - by hamanalda - 06-11-2019, 07:48 PM
RE: Window Modal does not work - by RRIOS - 06-11-2019, 08:00 AM
RE: Window Modal does not work - by RRIOS - 06-11-2019, 08:14 AM
RE: Window Modal does not work - by InsiteFX - 06-16-2019, 04:45 AM
RE: Window Modal does not work - by Piotr - 06-16-2019, 07:43 AM
RE: Window Modal does not work - by InsiteFX - 06-17-2019, 08:35 AM
RE: Window Modal does not work - by RRIOS - 06-17-2019, 12:50 PM
RE: Window Modal does not work - by johnmark10 - 10-25-2019, 11:49 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.