Bug Tracker

Modify

Ticket #3110 (closed bug: invalid)

Opened 5 years ago

Last modified 14 months ago

ajax success error

Reported by: shadow Owned by:
Priority: minor Milestone: 1.3
Component: ajax Version: 1.2.6
Keywords: ajax Cc:
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by flesler

  • need changed from Review to Test Case
  • Priority changed from critical to minor
  • Component changed from core to ajax

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

comment:2 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Closed due to inactivity and lack of a test case; reopen if a test case is available.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.