How can the href for a hyperlink be changed using jQuery?
Correct Answer: $("a").attr("href", "http://www.google.com/");
Explanation:
Note: This Question is unanswered, help us to find answer for this one
JQuery Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More JQuery MCQ Questions
Assume that you want that first the tag with 'id1' fades out and then the tag with 'id2' fades in. Which of the following code snippets allow(s) you to do so?
each() is a generic ___ function.
Which functions is/are built-in jQuery regular expression function(s)?
Which methods can be used to utilize the animate function with the backgroundColor style property?
Correct way to get 'Option B' with the value '2' from following HTML code in jQuery? Option A Option B Option C
Purpose of $(document).ready() function in Jquery?
How can the child img be selected inside the div with a selector?
Which returns the children tags of 'id1'?
Offset function gets the current offset of the first matched element in pixels relative to the ___.
The code snippet: var message = 'Message'; $('#id1').bind('click', function() { alert(message); }); message = 'New message'; $('#id2').bind('click', function() { alert(message); }); What does the alert box display if 'id1' is clicked?