Q:

ajax status code

fail: function(xhr, textStatus, errorThrown){
	alert('request failed');
}
0

0: request not initialized
1: server connection established
2: request received
3: processing request
4: request finished and response is ready

status	200: "OK"
403: "Forbidden"
404: "Page not found"
For a complete list go to the Http Messages Reference
statusText	Returns the status-text (e.g. "OK" or "Not Found")
0

New to Communities?

Join the community