Discussion
Match the column JavaScript-Events with the column Descriptions.
| JavaScript-Events | Descriptions |
|---|---|
| a) onchange | i) The browser has finished loading the page. |
| b) onmouseover | ii) An HTML element has been changed. |
| c) onkeydown | iii) The user moves the mouse over an HTML element. |
| d) onload | iv) The user pushes a keyboard key. |
Answer: A
The correct match is a-ii, b-iii, c-iv, d-i. The onchange event fires when an HTML element has been changed, onmouseover when the user moves the mouse over an HTML element, onkeydown when the user pushes a keyboard key, and onload when the browser has finished loading the page. Every other option exchanges at least one of these pairs, for example giving onload to a keyboard action. A simple way to remember is that the name of each event states what happens: change, mouse over, key down and load.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development