MCQs > IT & Programming > PrototypeJS Javascript Framework > How would you create a new div element and insert it as the last child of the body?

PrototypeJS Javascript Framework MCQs

How would you create a new div element and insert it as the last child of the body?

Answer

Correct Answer: $$('body').first().insert(new Element('div'));

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