Bug Tracker

Opened 13 years ago

Closed 13 years ago

#7044 closed bug (invalid)

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:
Blocked by: Blocking:

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 (2)

comment:2 Changed 13 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 13 years ago by snover

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.