Side navigation
#3110 closed bug (invalid)
Opened July 01, 2008 10:16AM UTC
Closed May 16, 2009 02:23AM UTC
Last modified March 14, 2012 05:32PM UTC
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?
Attachments (0)
Change History (2)
Changed July 01, 2008 03:30PM UTC by comment:1
component: | core → ajax |
---|---|
need: | Review → Test Case |
priority: | critical → minor |
Changed May 16, 2009 02:23AM UTC by comment:2
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