Side navigation
#7044 closed bug (invalid)
Opened September 17, 2010 01:53PM UTC
Closed September 22, 2010 08:57PM UTC
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');
}
Attachments (0)
Change History (2)
Changed September 21, 2010 02:36PM UTC by comment:1
Changed September 22, 2010 08:57PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
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.
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.