Skip to main content

Bug Tracker

Side navigation

#12525 closed bug (notabug)

Opened September 12, 2012 09:23PM UTC

Closed September 13, 2012 04:58PM UTC

Last modified September 26, 2012 03:13PM UTC

Problem on Firefox 15+ with event live

Reported by: jesuskateadio@hotmail.com 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

Attachments (0)
Change History (3)

Changed September 13, 2012 04:53PM UTC by jesuskateadio@hotmail.com comment:1

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

Problem Solved !

Changed September 13, 2012 04:58PM UTC by dmethvin comment:2

resolution: → notabug
status: newclosed

Changed September 26, 2012 03:13PM UTC by anonymous comment:3

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.