what is onfocus and onblur events in java script?

Answers were Sorted based on User's Feedback



what is onfocus and onblur events in java script?..

Answer / kumar kulandai

The onfocus event occurs when an object gets focus.
The onblur event occurs when an object loses focus.

Is This Answer Correct ?    20 Yes 4 No

what is onfocus and onblur events in java script?..

Answer / sandipbrk

onFocus : occurs when an element gets focus
onBlur : occurs when an element loses focus

Is This Answer Correct ?    10 Yes 1 No

Post New Answer

More JavaScript Interview Questions

what is a code in vb amount display in words

0 Answers  


Explain javascript accessors ?

0 Answers  


Are there any predefined constant provided by the browser with the key code values that can be reused?

0 Answers  


What does the instanceof operator do?

0 Answers  


What is the use of type of operator?

0 Answers  






Where are cookies actually stored on the hard disk?

0 Answers  


How do I run javascript in chrome?

0 Answers  


Do I need var in javascript?

0 Answers  


What is a frontend framework?

0 Answers  


What is the difference between the operators ‘==‘ & ‘===‘?

0 Answers  


How to define a named function in JavScript?

0 Answers  


What is a boolean search?

0 Answers  


Categories