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