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