Window Modal does not work |
(06-10-2019, 06:36 PM)hamanalda Wrote: Is the modal window called? Hello. Is it for me to test this code first? Without the <script> tag? How to test this? Code: Is the modal window called? This second part is to be used along with html bootstrap below, ok? Sorry, but I do not understand: the first code is for me to test how? The first and second scrip JS are the same, correct?
Using the inspect code I saw this error."validator.min.js:9 Uncaught ReferenceError: jQuery is not defined at"
Well, from what I understand I have to call jquery.js first of all. But it's embedded in the html_header.html, which is always called to mount the screen. html_header.html <!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="../../../../favicon.ico"> <title>Sistema Escolar Integrado - SEI.</title> <!-- Principal CSS do Bootstrap <link href="<?php echo base_url();?>dist/css/bootstrap.min.css" rel="stylesheet">--> <!-- Estilos customizados para esse template --> <link href="<?php echo base_url();?>assets/css/dashboard.css" rel="stylesheet"> <script type="text/javascript" src="<?php echo base_url();?>assets/js/jquery.min.js"></script> <script type="text/javascript" src="<?php echo base_url();?>assets/js/bootstrap.min.js"></script> <script type="text/javascript" src="<?php echo base_url();?>assets/js/popper.min.js"></script> <script type="text/javascript" src="<?php echo base_url();?>assets/js/bootstrap-modal.js"></script> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body>
SORTED OUT
Excuse me. The header.php file path was wrong and so was loading an outdated file.
In your web browser hit F12 for the Developer tools then click on console to see
what it is doing. Plus why are you using Bootstrap 3.3.6 when Bootstrap 3.4.1 has been released? What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Here are some examples on how to do it.
Dynamically load content in Bootstrap Modal with AJAX Ajax dynamic data load process in codeigniter with Bootstrap modal What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(06-17-2019, 08:35 AM)InsiteFX Wrote: Here are some examples on how to do it. Thank You !
But its not working, getting the same error.
-------------------------------- Regards, BBBootstrap (Codeigniter lover) |
Welcome Guest, Not a member yet? Register Sign In |