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 are the difference between undefined and not defined in javascript?

0 Answers  


How can javascript language be separated from objects?

0 Answers  


How to handle event handlers?

0 Answers  


How to disable an html object ?

0 Answers  


Can we create session in javascript?

0 Answers  






What is global variable in javascript?

0 Answers  


How do I open a website code?

0 Answers  


Is null in javascript?

0 Answers  


Why is my javascript function not defined?

0 Answers  


What is constructor?

1 Answers  


What is a prompt box in javascript?

0 Answers  


How do you reverse a string in javascript?

0 Answers  


Categories