/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('img[src]') $('img[src=test.gif]') $('img[src^=test]') // starts with test $('img[src$=gif]') // ends with "gif" $('img[src*=test]') // contains $('img[src^=test][src$=gif]') // starts wit "test" ends with "gif"