KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to find an img by name and src. I have been trying the following to no avail. var s = $("img[src='/images/greendot.gif'][name='BS']"); The html: <img alt="This item is active." name="BS" src="/images/greendot.gif"/> vs <img alt="This item is not active." name="BS" src="/images/spacer.gif"/>
Tags (comma-separated)
Save Edits
Cancel