Which snippet selects all images with the title attribute that has "dog" in its string?

Thnx, @docahrens! Improved!

2016 Jun 20, 6:08:59 PM

Should say: "Which snippet selects all images with the title attribute that has "dog" in it's string?". Also, your answer happens to be work because 'dog' has no spaces in it, but it would more properly be written with $('img[title*="dog"]')

2016 Jun 17, 11:38:16 PM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
JavaScript quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes