prevent other event keydown on change
        Posted  
        
            by Nik
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Nik
        
        
        
        Published on 2010-05-27T06:37:38Z
        Indexed on 
            2010/05/27
            6:41 UTC
        
        
        Read the original article
        Hit count: 377
        
JavaScript
Hi,
on my textbox i have 2 events onchange and keydown(for enter) now i did validation on onchange event if any validation fail then i raise alert but when i press press enter button if validation failed then i dont want to execute keydown event
any suggestion
Thanks, Nik
© Stack Overflow or respective owner