MCQs > IT & Programming > JQuery > Let's say you have a page with just one link on it. How can you change the anchor tag so it links to example.com?

JQuery MCQs

Let's say you have a page with just one link on it. How can you change the anchor tag so it links to example.com?

Answer

Correct Answer: $('a').attr('href', 'http://www.example.com')

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