Correct Answer: $('img').attr('src', 'photo.jpg');
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
Which selector is the fastest?
$.foo() is equivalent to:
Which statement best described the code snippet: $('#myID').animate({width:'90''fast'
What method is the primary means of attaching a handler to an event?
Which is a subset of jQuery's CSS selectors?
Which jQuery method is used to perform an asynchronous HTTP request?
Which jQuery method remove all or the specified class(es) from the set of matched elements?
Which built-in method removes the last element from an array and returns that element?
How to select all element available in DOM with jQuery?
What does the method css() in jQuery do?