MCQs > IT & Programming > PrototypeJS Javascript Framework > If you wanted to extend all elements with an additional method to do 'foo' and you have already created the method foo() how would you add it?

PrototypeJS Javascript Framework MCQs

If you wanted to extend all elements with an additional method to do 'foo' and you have already created the method foo() how would you add it?

Answer

Correct Answer: Element.addMethods({'foo' : foo});

Explanation:

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

PrototypeJS Javascript Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PrototypeJS Javascript Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it