Finding An image tag using the alt text

Posted by MrJackV on Stack Overflow See other posts from Stack Overflow or by MrJackV
Published on 2010-05-26T15:36:50Z Indexed on 2010/05/26 15:41 UTC
Read the original article Hit count: 301

Filed under:
|
|
|

I would like to know if it was possible using Javascript to find an image tag by its alt text. For instance I have this tag: <img src="Myimage.jpg" alt="Myimage"> would there be a vay to abtain the tag by looking for the "Myimage" alt attribute?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about images