Support » Fixing WordPress » jQuery loads, nothing happens.

  • Hey, guys, I managed to get some jQuery set up today on my WordPress.
    Unfortunately the WordPress isn’t recognizing my jQuery languaages.

    jquery(document).ready(function() {

    I have the scripts linked up, for example..

    <?php define('URL_ROOT', '/wp-content/themes/default/'); ?>
           <script src="<?php echo URL_ROOT;?>javascript/jquery-1.2.6.min.js" type="text/javascript"></script>
            <script src="<?php echo URL_ROOT;?>javascript/jquery-ui-personalized-1.5.2.packed.js" type="text/javascript" ></script>
            <script src="<?php echo URL_ROOT;?>javascript/sprinkle.js" type="text/javascript"></script>

    But for some reason, whenever i call out the Javascript $(document).ready(function(), the whole thing clunks out on me. No errors are outputted, and the page loads fine.

    I even used jquery(document).ready(function() just to be sure but nothing happens either.

    I recall seeing a wp_enqueue_script() around here, but I tried that but i’m not getting anything.. I dont’ know if i’m using it right either.

    Can someone help me on this? I can provide more information if you guys don’t understand.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘jQuery loads, nothing happens.’ is closed to new replies.