Jump to content


Photo

Weird error


  • Please log in to reply
2 replies to this topic

#1 gausie

gausie
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts
  • LocationA Syntax Error

Posted 03 September 2006 - 03:50 PM

Hi!

I'm getting the following error on page load

Line: 1
Char: 42
Error: Expected ')'


Perhaps the most troubling thing is that my "Line 1" is "<html>"!

Thanks

Gausie
Inner Dreams My pen is there always - as inner dreams

Just remember: united, we are an idiot

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 03 September 2006 - 04:39 PM

I belive that means line1 of your javascript code i'm not sure. Looks liek you have an extra ) in your code somewhere.

Also I guess you are using IE. IEs javascript debugger isn't that greatye. If you have FireFox installed, download the Web Developer Extension. Now load your page up in FireFox when theres an error on your page you'll get a red icon appear to the right of the screen on the web developer toolbar. Click the red icon this will open the Javascript Console. It should dispaly the error(s) and a green arrow pointing to the error in question.

#3 gausie

gausie
  • Members
  • PipPipPip
  • Advanced Member
  • 40 posts
  • LocationA Syntax Error

Posted 03 September 2006 - 05:22 PM

Right.
In Mozilla - what does "deprecated arguments usage" mean?

The lines of code are at the beginning of defining a function (SetCookie):

var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;


Any help?

Thanks

Gausie
Inner Dreams My pen is there always - as inner dreams

Just remember: united, we are an idiot




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users