EDITABLE CODE:
LiveDemo:jQuery - is() Method
Note:The jQuery script selects elements with src attribute of "tintin.jpg".