blur(fn): blur event fires when an element loses focus : blur « jQuery « JavaScript Tutorial






To pop up an alert every time any paragraph's blur event triggers:


$("p").blur( function () { alert("Hello World!"); } );








30.21.blur
30.21.1.Stop people from writing in text input boxes
30.21.2.To triggers the blur event on all paragraphs:
30.21.3.blur(fn): blur event fires when an element loses focus