MCQs > IT & Programming > JQuery > To dynamically set the src attribute of all img elements use:

JQuery MCQs

To dynamically set the src attribute of all img elements use:

Answer

Correct Answer: $('img').attr('src', 'photo.jpg');

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