how to get img src value
Posted
by MKN
on Stack Overflow
See other posts from Stack Overflow
or by MKN
Published on 2010-05-04T12:15:26Z
Indexed on
2010/05/04
12:18 UTC
Read the original article
Hit count: 140
jquery-selectors
I have some contents inside div tag...
within that div tag content I have to search for img src tag value
based on that value i have to highlight some images and to show some div content
for example
if img src value contains "http://google.com/test/test.img" have to highlight and to show img is highlighted div content
if img src value contains some specific path "news/images/test1.jpg" have to highlight and to show img is highlighted div content
if img src value contains some specific path "news/articles/images/test1.gif" no need to highlight and to show img is not highlighted div content.
© Stack Overflow or respective owner