Javascript examples for jQuery Method and Property:append
do .blur() function in newly appended object
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.0.2.js"></script> <script type="text/javascript"> $(window).load(function(){/* ww w.j a va 2s . co m*/ $(document).on('blur',".A",function(){ console.log(1); }); }); </script> </head> <body> <div> <input class="A" type="text"> <input class="B" type="text"> </div> </body> </html>