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

AJAX error in FireFox 1

Status
Not open for further replies.

1DMF

Programmer
Joined
Jan 18, 2005
Messages
8,795
Location
GB
Hello Peeps,

I have found that one of my scripts is causing FF to error when running my AJAX code.

Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: /java/ajax.js :: alertContents :: line 41" data: no]
Source File: /java/ajax.js
Line: 41

the line in question (41) is
Code:
            if (http_request.status == 200) {

What i don't understand is this AJAX code i use is working fine, it's used by many of my pages, however, on this one particular script I get that error.

why, what does it mean? , the code works fine in I.E. and as I said all the other scripts/pages using the exact same JS file runs fine in FF.

What could be causing this to happen all the script does being called by AJAX is increment plays by 1 in the DB and return current number of plays.

The script is so simple and returns in the same mannor all the other scripts that work do.

Any Ideas?

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Thank you so much Jeff.

So far i haven't found any of their suggestions work, but at least I have a starting point of people in the the know.

"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