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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in FF Console

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
i have a AJAX script which basically polls to update that member is still logged in.

This works fine and no errors in IE, however everytime the AJAX fires and runs the perl script, Java error console in FF seems to show an error which is just the number 1 , I know what this number is, it's what is returned back from the server as the HTML response.

What I don't understand is why FF is throwing an error just because I don't do anything with the returned data, I'm really not interested in anything returned, how is this an error?

Thanks,
1DMF.

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Can you just throw it in a dummy variable so that it has a destination. I could see how returning data and not doing anything with it could make FF get suspicious.

-kaht

Looking for a puppy? [small](Silky Terriers are hypoallergenic dogs that make great indoor pets due to their lack of shedding and small size)[/small]
 
I guess, I'll give it a go when I get the chance and see if it resolves the problem!

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Nope, I checked and I already receive the returned data into a var, i've even done an alert of the var and is displays 1, so everything is coming back ok, so what does this FF console error mean?
Error: syntax error
Source File: Line: 1, Column: 1
Source Code:
1^

the script runs fine and returns the value 1, and I only get an error in FF not I.E.

any ideas?

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top