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 the difference between firstChild and firstElementChild?

0 Answers  


How to test 404 page in QA

0 Answers  


In Javascript are calculations with fractional numbers guaranteed to be precise?

0 Answers  


What is the use of a form in html page? Is there any way to submit the page without using the form.

3 Answers   Kanbay, TCS,


What is the difference between the substr() and substring() functions in javascript?

0 Answers  


what is the function of public class main ?

0 Answers  


What does trim stand for?

0 Answers  


TypeError: document.getelementbyid(...) is null?

0 Answers  


What is are the types of the pop up box es available in javascript?

0 Answers  


What is spread operator?

0 Answers  


What is decodeuri() function?

0 Answers  


Can any one tell me about s_objectID used for the anchor tag why it is used, what for and how to use it properly. with an example...please please......

1 Answers  


Categories