<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> <script type="text/javascript" src="../jquery-1.9.0.min.js"></script> <script type="text/javascript"> $(function(){ $("#v1").blur(function(){ alert("aa"); }); }); </script> </head> <body> <input id = 'v1' value='v1'> </body> </html>