MCQs > IT & Programming > JQuery > If you want to change the text displayed in a paragraph by adding text before what's currently displayed, which would be correct?

JQuery MCQs

If you want to change the text displayed in a paragraph by adding text before what's currently displayed, which would be correct?

Answer

Correct Answer: $('p').prepend('text to add');

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