remove the id attribute from a div using jquery?

2dip

New Member
i want to remove the id attribute from this image:\[code\]<img width="270" class="thumb" id="thumb" height="270" src="http://stackoverflow.com/questions/4589900/img/1_1.jpg" />\[/code\]i tried doing this:\[code\]$('img#thumb').RemoveAttr('id','none');\[/code\]but its not remving it!thanksEDIT:\[code\]$('img#thumb').attr('src', response); $('img#thumb').attr('id', 'nonthumb');\[/code\]this deosnt load the picture, or in this case the src!! but when i remove the id attribute, it works fine
 
Top