AG Custom only plugin loaded, jQuery doesn t work
-
Hi. I’ve activated only AG Custom Admin plugin.
I’ve pasted this code in <head> and it doesn’t work at all. It works only if I turn off AG Custom Admin.This is the code pasted in <head></head>
<script> jQuery(document).ready(function(){ jQuery("button").click(function(){ jQuery("p").text("jQuery is still working!"); }); }); </script>
This is the only Jquery loaded by default by WordPress 4.1:
<script type='text/javascript' src='...js/jquery/jquery.js?ver=1.11.1'></script> <script type='text/javascript' src='...js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
With many other plugins using jQuery the above code works.
Any ideas?
Many many thanks
Federico
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘AG Custom only plugin loaded, jQuery doesn t work’ is closed to new replies.