How to select the IMG tag based on the attribute?
Posted
by Tejas
on Stack Overflow
See other posts from Stack Overflow
or by Tejas
Published on 2010-05-10T10:24:12Z
Indexed on
2010/05/10
10:34 UTC
Read the original article
Hit count: 264
<IMG height="160" alt="Web Content Image" src="../image/journal/article?img_id=16505&t=1273484793531" width="240" pngSet />
I have the this code for the image , and I want to select the image based on the attribute "pngSet"
I am trying this , but not working.
$("img[pngSet='']").css('border' ,'1px solid red');
© Stack Overflow or respective owner