WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] jQuery issue with order in head (6 posts)

  1. Daimoch
    Member
    Posted 2 years ago #

    Hello,

    wordpress auto puts the lates jquery version into the <head> tag:
    <script type='text/javascript' src='http:/mysite.de/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>.

    That version is needed for some plugins and works!

    Now i put my very own javascript into the <head> right before the end of the </head> tag. That script doesn't work now. But when i put manually a link to a ealier version of jquery (<script src="http://mysite.de/wp-content/themes/twentyeleven/js/jquery-1.4.1.js"></script>) ABOVE my script, it works, but the other plugins don't because they need the latest jQuery version.

    But my javascript works definitly in latest jQuery version! I've tested it.

    Where is the problem? jQuery is loaded else my plugins wouldn't work but it has no effect to my javascript in the <head> not until i put a link to jQuery additionally above my script.

    Hope you can help

  2. Pankaj Pandey
    Member
    Posted 2 years ago #

    post site link so we can analyze possible issue. are you using firebug? seems you can code JavaScript so firebug help you to found issue.

  3. Daimoch
    Member
    Posted 2 years ago #

    Hi,

    yes i'm using firebug. But it doesn't help.

  4. Pankaj Pandey
    Member
    Posted 2 years ago #

    live search popup plugin is creating problem probably. disable then post result

  5. Daimoch
    Member
    Posted 2 years ago #

    I love you..i really do.

    Yes it was the live search popup...oh boy. ^^

    Thank you very much!

    I will like your website on facebook as little gift for your work! :)

  6. Pankaj Pandey
    Member
    Posted 2 years ago #

    You are welcome...

Topic Closed

This topic has been closed to new replies.

About this Topic