Ich mag das id-Attribut von diesem Bild entfernen:Wie entfernt man ein ID-Attribut von einem Div mit jQuery?
<img width="270" class="thumb" id="thumb" height="270" src="img/1_1.jpg" />
ich versuchte, dies zu tun:
$('img#thumb').RemoveAttr('id','none');
Aber es ist das Entfernen nicht die ID!
EDIT:
$('img#thumb').attr('src', response);
$('img#thumb').attr('id', 'nonthumb');
Dieses deosnt das Bild laden, oder in diesem Fall die src! Aber wenn ich das ID-Attribut entfernen, funktioniert es gut
http://stackoverflow.com/questions/25888095/ Nicht mit unwrap – user2577756