Bug Tracker

Changes between Initial Version and Version 1 of Ticket #8173


Ignore:
Timestamp:
Feb 4, 2011, 5:45:24 AM (11 years ago)
Author:
jitter
Comment:

Thanks for taking the time to contribute to the jQuery project by writing a bug report!

After checking your report I made this live test case based on your description. I can't seem to reproduce the behavior you described, as I get an alert saying "error" in FF.

So please submit a reduced test case, which reproduces the issue you are experiencing, on http://jsfiddle.net. So that we can investigate this issue further. Also make sure to read the link given below, in order to provide a most useful bug report.


How to report bugs

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8173

    • Property Owner set to [email protected]
    • Property Priority changed from undecided to low
    • Property Component changed from unfiled to ajax
    • Property Status changed from new to pending
  • Ticket #8173 – Description

    initial v1  
    11This simple AJAX call includes a URL that doesn't exist. In 1.5 in Firefox it does not display the alert meaning the error is not being caught (or causes a runtime error in Firebug). In 1.4.4 it properly catches the error in the textStatus.
    2 
     2{{{
    33$('#cmdDetails').bind('click', function()
    44{
     
    77        type: "GET",
    88        dataType: "json",
    9          url: "server/fakeurl.php",
    10          complete : function(data, textStatus, jqXHR)
    11          {
    12              alert(textStatus);   
    13          }
    14      })
     9        url: "server/fakeurl.php",
     10        complete : function(data, textStatus, jqXHR)
     11        {
     12            alert(textStatus);
     13        }
     14    })
    1515});
     16}}}