Question 177

Which JavaScript event fires when a user clicks an element?

  1. Aonload
  2. Bonclick
  3. Conhover
  4. Donchange
Show answerHide answer

Correct answer: (B) onclick

Explanation

onload – page loaded; onchange – value changed.

From DSSSB TGT Computer Science Full Mock Test 4

This is question 177 of DSSSB TGT Computer Science Full Mock Test 4. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.