WordPress.org

Ready to get started?Download WordPress

Forums

jQuery loads, nothing happens. (7 posts)

  1. nintensity
    Member
    Posted 5 years ago #

    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.

  2. nintensity
    Member
    Posted 5 years ago #

    bump!

  3. nintensity
    Member
    Posted 5 years ago #

    bumppp

  4. nintensity
    Member
    Posted 5 years ago #

    bump.

  5. nintensity
    Member
    Posted 5 years ago #

    bumppp

  6. nintensity
    Member
    Posted 5 years ago #

    i need someone to help me with this please!

  7. nintensity
    Member
    Posted 5 years ago #

    bump.. i think i got something. i'll let you guys know.

Topic Closed

This topic has been closed to new replies.

About this Topic