1.

Explain Blur() Method In Jquery?

Answer»

The blur() METHOD attaches an event handler function to an HTML form FIELD. The function is executed when the form field loses focus:

EXAMPLE: $("INPUT").blur(function(){ $(this).CSS("background-color","#ffffff"); });

The blur() method attaches an event handler function to an HTML form field. The function is executed when the form field loses focus:

Example: $("input").blur(function(){ $(this).css("background-color","#ffffff"); });



Discussion

No Comment Found