16
$().attr('id',''
) todavía sale id = ""
snippet,¿Cómo deshacer el atributo de identificación con jQuery?
cómo quitarlo por completo?
$().attr('id',''
) todavía sale id = ""
snippet,¿Cómo deshacer el atributo de identificación con jQuery?
cómo quitarlo por completo?
Utilice el método removeAttr
.
$('selector').removeAttr('id')
love SO! Gracias ... ¡me ayudó mucho en un contexto diferente! –