Hello Peeps,
I have found that one of my scripts is causing FF to error when running my AJAX code.
the line in question (41) is
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.
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.