remove the id attribute from a div using jquery?
- by getaway
i want to remove the id attribute from this image:
<img width="270" class="thumb" id="thumb" height="270" src="img/1_1.jpg" />
i tried doing this:
$('img#thumb').RemoveAttr('id','none');
but its not remving it!
thanks
EDIT:
$('img#thumb').attr('src', response);
$('img#thumb').attr('id', 'nonthumb');
this deosnt load the picture, or in this case the src!! but when i remove the id attribute, it works fine