JQuery live function doesn't work
        Posted  
        
            by Sayem Ahmed
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Sayem Ahmed
        
        
        
        Published on 2010-04-27T06:30:56Z
        Indexed on 
            2010/04/27
            6:33 UTC
        
        
        Read the original article
        Hit count: 388
        
jQuery
I have some text boxes, all of which have the same class "addExamNumberBoxStyle". Now I want to bind a "blur" handler to each one of these. When I use direct "blur" event like below -
$('.addExamNumberBoxStyle').blur(function()
{
    alert("Hello World");
});
it works perfectly. But when I use "live" function like below -
$('.addExamNumberBoxStyle').live('blur', function()
{
    alert("Hello World");
});
it does not work.
Why?
© Stack Overflow or respective owner