...

View Full Version : Error on page - getting rid of this?



phototaker
12-06-2005, 05:32 PM
I am trying to get rid of the "error on Page" that shows up in the lower left hand cornor of IE. On the site http://nissangg.com the error is "Syntax Error " or "object expected". Thanks for any info. Richard

oracleguy
12-06-2005, 05:43 PM
It seems like it might be coming from this JS function:


function launchApp(){
url='https://www.hotlinkhr.com/home.asp?xu=SDA89902&xt=676FC26D743F3A';
args='resizable=1,scrollbars=1,toolbar=0,location=0,directories=0,';
args+='status=no,menubar=no,width=720,height=550,top=0,left=0';
window.open(url, 'winHotlinkApp', args);}


I don't see any obvious error, what is making me think that is the source of the problem is that the web developer tool in Firefox says:


Error: missing } in XML expression
Source File: http://nissangg.com/
Line: 11, Column: 74
Source Code:
url='https://www.hotlinkhr.com/home.asp?xu=SDA89902&xt=676FC26D743F3A';

mark87
12-06-2005, 05:51 PM
I think maybe you should encode the symbols (?, ., /, :, &, and =) ?

Try this for the URL -

https%3A%2F%2Fwww%2Ehotlinkhr%2Ecom%2Fhome%2Easp%3Fxu%3DSDA89902%26xt%3D676FC26D743F3A

(I encoded the whole lot because I couldn't be bothered to do each symbol seperately...)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum