Post: Jquery and Jquery-UI not working
04-05-2013, 02:35 AM #1
Default Avatar
kalferg
Guest
(adsbygoogle = window.adsbygoogle || []).push({}); Ive been through multiple tutorials and no one has provided any fix. Anyone here have some suggestions?
(adsbygoogle = window.adsbygoogle || []).push({});
04-05-2013, 02:36 PM #2
Make sure you are importing it right. How are you using the script?

Import with:
    
<script src="https://code.jquery.com/jquery.min.js"></script>

Then you need to import jQuery UI with whatever theme you are using.


To run a script:
    
$(document).ready(function(){
// PUT WHATEVER YOU WANT IN HERE
});


I like to use the method above, it will start the jQuery code once the document loads, but will not wait for images to load i believe. Keeping your scripts in an external file is a good idea. Keeps things organized.
04-05-2013, 03:16 PM #3
EE+
Gym leader
Want to show us an example of your script? Otherwise we're shooting in the dark.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo