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

Explain the different types of pop-up boxes you can create in JavaScript.

0 Answers  


How to add new elements dynamically?

0 Answers  


What is the source code for include() & forwrd() method servlet program?

1 Answers  


In a pop-up browser window, how do you refer to the main browser window that opened it?

0 Answers  


How can javascript be used to personalize or tailor a web site to fit individual users?

0 Answers  


What is the difference between HTMLCollection and NodeList?

0 Answers  


List some unit testing frameworks javascript

0 Answers  


What is the use of isNaN function?

0 Answers  


How can an HTMLCollection be traversed?

0 Answers  


What are the limitations of javascript?

0 Answers  


What is scope variable in javascript?

0 Answers  


How to get checkbox status whether it is checked or not?

0 Answers  


Categories