⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

JQuery conflict with bootstrap template



cassa

cassa
  • profile picture
  • Member

Posted 02 August 2018 - 16:07 PM

I saw that someone has same problem as I do but no response from anyone: /topic/3754-grocery-crud-jquery-bootstrap-dont-work-together/

 

 

 I am new to grocery crude and I hope that there is community support to encourage us to continue to use this amazing tool.

 

Iam using fexgrid.

 

I noticed that  GC jquery <script src="http://localhost:8080/ams/assets/grocery_crud/js/jquery-1.11.1.min.js"></script>

 is the one that drive the upload but once my template's boostrap and  js  is loaded with  the following, the update and uplaod will stop working:

 

<!-- jQuery -->
    <script src="<?php echo base_url(); ?>/vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="<?php echo base_url(); ?>/vendors/bootstrap/dist/js/bootstrap.min.js"></script>

 

 

 

 

Any help will be greatly appreciated

 


Julio

Julio
  • profile picture
  • Member

Posted 04 August 2018 - 22:30 PM

Hi,

Did you try unset these libraries using unset_bootstrap and/or unset_jquery?

Julio

Sangat Shah

Sangat Shah
  • profile picture
  • Member

Posted 07 August 2018 - 11:46 AM

Hi 

 

unset_bootstrap -- this method used only you have purchased bootstrap themes

and 

 

unset_jquery ('<< which you have unset JQ>>');

 

like 

unset_jquery('jquery.min.js');