MCQs > IT & Programming > JQuery > What is the equivalent of the following code? $('div').click(function {alert(1);});

JQuery MCQs

What is the equivalent of the following code? $('div').click(function {alert(1);});

Answer

Correct Answer: $('div').bind('click',function {alert(1);});

Explanation:

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

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JQuery Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it