Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sytax error on first page load, but not refresh (???)

Status
Not open for further replies.

flipside1212

Technical User
Jun 24, 2003
4
CA
Hi, I have a site that on first load recieves a syntax error, but when I hit refresh there is no error. It doesn't seem to hinder anything but it's annoying nonetheless. My site is at I did my site in notepad so it's probably some stray character somewhere, but I'm hoping that others have experienced this and can offer a common solution. Thanks to all who consider this!!
 
the error probably is a object reference error in a object is not loaded prior to being used in some way. When the page gets cached then the error will usually go away.

____________________________________________________
The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811

onpnt2.gif
 
actually just looks like it's here

if(ImageFolder.substr(ImageFolder.length - 1, ImageFolder.length) != "/" && ImageFolder != "") {

teh proper way to format this would be
if((this)&&(that)) {
something
}

____________________________________________________
The most important part of your thread is the subject line.
Make it clear and about the topic so we can find it later for reference. Please!! faq333-3811

onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top