Bug Tracker

Modify

Ticket #7044 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

Firefox 4 beta 6 live('change') executes ajax and not execute callback

Reported by: Sadjow Owned by:
Priority: Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: live ajax callback Cc:
Blocking: Blocked by:

Description

I don't know if the FF 4 beta 6 is the problem or the problem is of jQuery. Firefox 3.6.9 is ok. I will report this bug to Mozilla too.

Below is the code that not execute the ajax callback using json.

jQuery("#select_locale").live('change', function(){

updateLocale(jQuery(this).val());

});

function updateLocale(id){

jQuery.post('/index.php/delivery/pizzas/setlocale/', {'ID': id}, function(data){

alert('callback here');

}, 'json');

}

Change History

comment:2 Changed 4 years ago by jishan

I can confirm this bug. jQuery 1.4.2 doesn't fire any ajax callbacks on Firefox 4 beta 6 while the older version 1.3.2 works fine. It also works fine on FF 3.6.10.

comment:3 Changed 4 years ago by snover

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

There is a  known compatibility issue with Firebug and all current Firefox 4 betas that causes XHR callbacks to not fire. Workaround is to switch off the "Show XMLHttpRequests" option in the Console panel.

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.