MCQs > IT & Programming > JavaScript > Click here! What does 'return false' do to this onclick event?

JavaScript MCQs

<a href=’http://w3.org/’ onclick=’someFunc()”; return false; ’> Click here! </a>

What does “return false” do to this onclick event?

Answer

Correct Answer: It prevents the default browser behavior from taking place alongside someFunc().

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