Sorry for not making myself clearer. The style classes are no persisting, I need the exact quote of the html, i.e. the clone without class="" because I'm going on to do further data processing with the page later and I need to have the original html code perfectly intact. Hope that makes more sense.
brian ally-3 wrote: > > 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. > > -- View this message in context: http://old.nabble.com/Remove-appended-element-tp26534745s27240p26556166.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.