#3110 closed bug (invalid)
ajax success error
Reported by: | shadow | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | ajax | Version: | 1.2.6 |
Keywords: | ajax | Cc: | |
Blocked by: | Blocking: |
Description
Sometimes - in about 1/20 cases when we very often use ajax request function on success don't work - requested data are return but $('#id2').html(r) is not executed and ajax.error is not executed as well. Changing options like async, cache, timeout doesn't help.
$.ajax( {
url: url, data: { a: "a", b: b, c: c }, type: 'POST', success:
function (r) {
$('#id2').html(r);
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
alert(XMLHttpRequest); alert(textStatus); alert(errorThrown);
}
} );
Any ideas what is wrong or what can i do about it?
Change History (2)
comment:1 Changed 15 years ago by
Component: | core → ajax |
---|---|
need: | Review → Test Case |
Priority: | critical → minor |
comment:2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closed due to inactivity and lack of a test case; reopen if a test case is available.
Can you please provide a test case ? that is, a small html file with the minimum html/css/js necessary to reproduce the problem. Thanks