tags:

views:

647

answers:

1

$().attr('id','') still leaves id = "" snippet,

how to completely remove it?

+14  A: 

Use the removeAttr method.

$('selector').removeAttr('id')
TM
love SO! Thanks.. helped great in a different context!
Vijay Dev