Quiero eliminar el atributo id de esta imagen:
<img width="270" class="thumb" id="thumb" height="270" src="img/1_1.jpg" />
Intenté hacer esto:
$('img#thumb').RemoveAttr('id','none');
¡Pero no está quitando la identificación!
EDITAR:
$('img#thumb').attr('src', response);
$('img#thumb').attr('id', 'nonthumb');
Este deosnt carga la imagen, o en este caso el src! Pero cuando elimino el atributo id, funciona bien
javascript
jquery
html
image
Aléjate
fuente
fuente
stackoverflow.com/questions/25888095 No funciona con desenvolver
user2577756