Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12525 closed bug (notabug)

Problem on Firefox 15+ with event live

Reported by: jesuskateadio@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

Description

Hi, First of all, sorry for my english, because is not perfect. This is my first time writing on this forum; the problem I've seen is that, on firefox 15+ the event live combined with ('change', function...) is not working... Here is the code that doesn't works for me:

$('#Person\\[licence\\]').live('change', function(){
    if($(this).val() != ''){
        var a = $(this).val();
        $('#div').load('../ajax/detail_validation.php?ac=person&lic=' + a);
    }
});

When i focus on field Person.licence, write some data and then tab, this doesn't work, does nothing. I have to change the event ('change',...) trying with 'blur' or 'focusout' and problem solved.

This is a bug of jquery or firefox 15+? My version of jquery is 1.8.1 and Firefox 15.0.1

Change History (3)

comment:1 Changed 7 years ago by jesuskateadio@…

My Apologies, the error was mine, i had some conflicts in the code ! Problem Solved !

comment:2 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

comment:3 Changed 7 years ago by anonymous

Doesn't seem to be limited to live, also not working with bind, on. And doesn't work with plain JS either. Seems to be a Firefox 15+ Bug referring to this: https://bugzilla.mozilla.org/show_bug.cgi?id=786172 The Bug is referring to some drag&drop action but i think it's a general Bug.

Note: See TracTickets for help on using tickets.