Javascript Ajax jQuery Html PHP Example Quiz New MORE
Need a Website Or Web Application.Contact : +91 9437911966 (Whatsapp) Note: Paid Service

jQuery blur() Method

The blur event occurs when we come out from an input box. The blur() is an inbuilt method in jQuery. When we come out from an input box it's lost its focus.

Example: In password match we can use the blur() function to get instant that the password is wrong or right.

Syntax Trigger the blur event for the selected elements: $(selector).blur()


	<!DOCTYPE html>
	<script src=""></script>
		var result=$("input").val();
		alert("Enter value is value is:"+result);

	Enter Anything: <input type="text">
	<p>Write anything in the input field, and come out from the input box.</p>

Run it Yourself »