MCQs > IT & Programming > JQuery > $('.clicker').click(function() { $('link[rel=stylesheet]').attr('href' , $(this).attr('rel')); }); The above is used to do what?

JQuery MCQs

$(".clicker").click(function() { $('link[rel=stylesheet]').attr('href' , $(this).attr('rel')); }); The above is used to do what?

Answer

Correct Answer: Change the stylesheet loaded in the page upon clicking the element with class "clicker"

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