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

#9
(06-10-2019, 08:23 AM)php_rocs Wrote: @RRIOS,

In your javascript you have '#meuModal' instead of '#myModal'

I changed ... did not show the window.
Code:
<div class="modal fade" id="myModal">
     <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
           <div class="modal-content">
               <div class="modal-header">
                   <h4 class="modal-title">My Modal</h4>
                   <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                       <span aria-hidden="true">×</span>
                   </button>
               </div>
               <div class="modal-body">
                   ...
               </div>
               <div class="modal-footer">
                   <button type="button" class="btn btn-secondary mx-auto" data-dismiss="modal">Close</button>
               </div>
           </div>
     </div>
</div>
<script>
$(document).ready(function(){
  $('#myModal').modal('show');
});
</script>
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.