On Sat, Nov 28, 2009 at 2:11 PM, coldwired <co...@coolwired.net> wrote: > > The reason is because I need the exact clone of the highlighted tags before > the selected class is supplied to it.
Sorry, that doesn't answer my question. In what way is having an element with an attribute class="" causing you trouble? Are some style rules persisting? > removeAttr sounds okay but its a > problem if it removes other classes that might have been there before hand. > Difficult situation... If there were other classes assigned you would not have class="" attribute on the element.