Solved

Internet Explorer not recognizing jQuery - throwing error 'jQuery' is undefined

Posted on 2009-04-08
2
8,443 Views
Last Modified: 2012-05-06
Hi Experts,

I'm stumped, IE is being stupid again.

I have this page - http://www.arrowandalusians.com/horses-for-sale.php

In Firefox everything loads fine. However, Internet Explorer is now throwing this error:

---------------------
Message: 'jQuery' is undefined
Line: 11
Char: 1
Code: 0
URI: http://www.arrowandalusians.com/query.js
---------------------

Can anybody point me in the right direction. Why would all of my jQuery load correctly in Firefox but not IE?

Regards...
0
Comment
Question by:ziffgone
  • 2
2 Comments
 
LVL 14

Author Comment

by:ziffgone
ID: 24102251
Addendum:

It also throws the same error for the "facebox.js" file, and an error for an unrecognized function (Object Expected) because the jQuery script isn't loading.

Regards...
0
 
LVL 14

Accepted Solution

by:
ziffgone earned 0 total points
ID: 24107569
Lol,

Maybe it's best nobody commented. It's the simplest things that confound us.

Ends up I had lost a closing angle bracket, ">", in the Meta tag immediately above the jquery.js script tag.

Doh!

I thank anybody who actually looked into this but couldn't provide a solution.

Regards...
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are a couple ways to attach a JavaScript function to dynamically created elements. You can make a new script for each element as it’s created or you can use delegation. Delegation allows a single script that is added at page creation to mat…
How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question