MCQs > IT & Programming > JavaScript > Which ways can you use to attach click event handler to id1 div tag on all browsers?

JavaScript MCQs

Which of the following ways can you use to attach click event handler to id1 div tag on all browsers?


Answer

Correct Answer: <div onclick="function1();" id="id1">

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it