views:

60

answers:

2
+1  Q: 

jQuery undefined

Getting a weird error on a site I am developing. Even looked back at last couple of sites to make sure there was no differences... and nope, can not see any.

Getting an jQuery undefined error only in IE on the following page http://weesleekit.info/lotus/beta/ it's with regard to the easy slider part on the site, but have used easy slider multiple times before and never ever had an issue.

Can anyone shed some light into this, I am racking my brains and seem to be finding nothing.

+3  A: 

I have no idea if this is related, but in the source of that site, before jquery.js is included there is an unclosed:

<link REL="SHORTCUT ICON" HREF="favicon.ico">

(make it: `<link REL="SHORTCUT ICON" HREF="favicon.ico" />)

maybe IE is bugging out and not including jQuery since it is technically inside the <link> element. See if fixing that does anything (i kinda doubt it)

and a comment by @burningstar4 says that there is a link which is missing a closing tag as well:

<link rel="Stylesheet" type="text/css" media="screen" href="css/screen.css" /

should be

<link rel="Stylesheet" type="text/css" media="screen" href="css/screen.css" />

Bob Fincheimer
+3  A: 

Your problem is here:

<link rel="Stylesheet" type="text/css" media="screen" href="css/screen.css" /

  ><script type="text/javascript" src="js/easySlider1.7.js"></script> 

There are several lines in between your / and > that shouldn't be there, and IE isn't including the <script> block that follows it.

Nick Craver