JQuery get border attribute of image (not css)
Posted
by adbox
on Stack Overflow
See other posts from Stack Overflow
or by adbox
Published on 2010-03-12T05:46:30Z
Indexed on
2010/03/12
6:47 UTC
Read the original article
Hit count: 116
jQuery
I'm trying at this:
var cur_border = $('id_grid_pic_'+cur_id).attr('border');
alert(cur_border);
But the alert sends back "object". I am wanting to get the value of the border=1 attribute of an image.
© Stack Overflow or respective owner