IE7 An Error has occured in the script on this page

Of course the website works fine in IE8, safari, chrome, and firefox, but it's throwing an error in IE7.  I get an Object doesn't support this property or method.  line 4082, character 9.  I'm not sure which script is setting this off.  Any help is hugely appreciated.  The link is
Who is Participating?
GreatGermConnect With a Mentor Commented:
You're loading jQuery twice, once before the other libraries, and once after.  It's the loading after that is causing your conflict which leads to the error with Prototype.

11: <script type="text/javascript" src=""></script>
40: <script type="text/javascript" src=""></script>

This is the easiest option, but you do have a choice.  You can read more here:
just upgrade the person IE 7 is highly insecure now, plus it doesn't always fully support newer standards which is one thing you may be encountering ... but if you must stick with it, then see if upgrading the Java runtime on your machine will correct the issue ... goto and download the latest version and install then restart and see if the errors persist.
kmurphychiAuthor Commented:
No can do.  Several internet users still use it and I need to make this site work in IE7.
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

try upgrading the java runtime they use ...
Michel PlungjanIT ExpertCommented:
I get

Error: element.attachEvent is not a function
Source File:
Line: 4024

Error: element.dispatchEvent is not a function
Source File:
Line: 4079

Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.evaluate]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: :: <TOP_LEVEL> :: line 1528"  data: no]

in FF so it may not SHOW the error but there are errors anyway

I suggest you download 1.7 from 2010 instead of the version you have now from 2008
kmurphychiAuthor Commented:
Okay, I've upgraded the java on the users machine, and installed the latest version of prototype and am still seeing the error.
One thing if you are using IE with let's say Prototype because I use it when you write your script you must declare all variables with var some_variable, other thing is closing ; most time that make mess with IE. Other thing if your script have }}}}  for IE use },},},}. That is general advices try to remove all non Framework Javascript  and add one by one to see what file is making problem.
Michel PlungjanIT ExpertCommented:
What do you mean by
}}}}  for IE use },},},}.


If you have objects, you have to make sure you do NOT have trailing commas in IE

var someObject = {
  "bla3":"Three",   <<<<<<<<< this will fail in IE
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.