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

UNCONFIRMED
Unassigned

Status

()

Firefox
General
UNCONFIRMED
7 years ago
a year ago

People

(Reporter: Sadjow Medeiros Leão, Unassigned)

Tracking

3.6 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(platform-rel -)

Details

(Whiteboard: [platform-rel-jQuery])

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Build Identifier: Firefox 4 beta 6

I don't know if the FF 4 beta 6 is the problem or the problem is of jQuery. Firefox 3.6.10 is ok. This bug is reported to jQuery team too.

Using jQuery, 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');

}

Reproducible: Always

Updated

7 years ago
Version: unspecified → 3.6 Branch
Whiteboard: [platform-rel-jQuery]
platform-rel: --- → ?
platform-rel: ? → -
You need to log in before you can comment on or make changes to this bug.