Trigger blur event
Description
The following code shows how to trigger blur event.
Example
<html>
<head>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {<!-- www. ja va 2s . c o m-->
$("input").focus(function() {
$(this).blur();
});
});
</script>
</head>
<body>
<p>
<input type="text" /> <span>focus event fire</span>
</p>
</body>
</html>