What is the use of blur function in JavaScript?



What is the use of blur function in JavaScript?..

Answer / Ankita Tiwari

The blur() method removes focus from an element (input, button, etc.) by unhighlighting it. It's used to create user interactions, such as changing the appearance or behavior of a form element when it loses focus.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What kind of conditional statements does JavaScript support?

1 Answers  


What are the requirements of web application using javascript?

1 Answers  


what is the source code for sendRedirect method()java Servlet program?

1 Answers  


show the date in textbox when we select item (items like-- today,yesterday,lastweek,lastmonth,lastyear) from dropdownlist using javascript?

1 Answers  


How do I turn on javascript?

1 Answers  


How to setting a cookie with the contents of a textbox?

0 Answers  


What is negative infinity?

2 Answers   CoKinetic, Satyam,


What is npm repository?

1 Answers  


Which built-in method calls a function for each element in the array?

1 Answers  


Why javascript is so popular?

1 Answers  


How do I open javascript?

1 Answers  


What is the difference between arrow function and normal function?

1 Answers  


Categories