MCQs > IT & Programming > JQuery > Which correctly uses the replace() method?

JQuery MCQs

Which of the following correctly uses the replace() method? 

Answer

Correct Answer: var valr='r'; valr = valr.replace('r', 't'); $('.try').prepend('

'+valr+'
');

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