Namrata Shrivas Namrata Shrivas - 2 months ago 8
Ajax Question

Javascript conflicts to my css of Admin LTE theme

I am using Admin Lte Theme and I used this JS file for my AJAX call below all JS file in this theme. When i add this file, it conflicts my CSS.
Toggle doesn't work .

Answer

adminlite seems to be JQuery dependent

If you place JQuery script tag above all the others you should get your toggle problem fixed. for example

<!--First load jquery-->
<script src = "http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!--Then load admin LTE theme -->
<script src="path/to/adminlte/"></script>