Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript Line 1 Syntax error in IE [closed]

Tags:

javascript

Can someone figure out what this Line 1 Syntax error is? I am trying to debug in IE6 and IE7 and can't find the source of the issue.

http://ci.elfster.net/apps/game/tree/design.aspx

Thanks

like image 507
Adrian Adkison Avatar asked May 18 '26 11:05

Adrian Adkison


1 Answers

Just after this comment line:

<!-- Begin -  Site: Elfster.com Zone: 2008 Master Template Leaderboard -->

you are trying to embed a javascript:

var src = 'http://ads.elfster.com/go/a.aspx?ZoneID=' + ZoneID + '&amp;Task=Get&amp;IFR=False&amp;PageID=27668&amp;SiteID=' + SiteID + '&amp;Random=' + browDateTime;

I've got this path:

a.aspx?ZoneID=4&Task=Get&IFR=False&PageID=27668&SiteID=1&Random=1250553113754

This URL returns HTML not javascript hence the error you get.

like image 69
DmitryK Avatar answered May 20 '26 02:05

DmitryK