I would recommend using a generic error alert function. This saves
having to add an error: function() to each ajax call you use.
Here is my function. It uses jQuery UI to improve the appearance of
the error announcement and allow for html formatting:
//javascript
$(document).ready(function() {
That should be:
myrequest.statusText
I believe...
On May 13, 3:27 pm, bhaveshphoneh...@gmail.com
bhaveshphoneh...@gmail.com wrote:
myrequest.status
myrequest.status
On Apr 21, 6:38 am, Leanan the.leanan.si...@gmail.com wrote:
I'm trying to load some javascript files via ajax, and for the life of
me, I can't get it to catch 404 errors. I've tried searching, but
everything I've found says that I should check the status on the
request
3 matches
Mail list logo