This should do, haven't tested though. $().html().replace(/ jquery\d+="\d+"/ig, '');
-- Ariel Flesler http://flesler.blogspot.com On 6 jun, 20:35, Shaun <[EMAIL PROTECTED]> wrote: > Thanks for the reply > We are trying to grab that html and save it out clean > is there any way of preventing this? > > thanks > Shaun > > On 6 Jun, 21:46, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > > > > Yes that's the expando. It's added when $.fn.html() calls $.fn.empty() > > and $.fn.empty() calls $.data(). > > > What problem is that causing ? > > > -- > > Ariel Fleslerhttp://flesler.blogspot.com > > > On 6 jun, 10:32, Shaun <[EMAIL PROTECTED]> wrote: > > > > When trying to get some html back from part of a document I get jquery > > > attributes included in the html (IE only) > > > has anyone else seen this and how did they fix it short of regex > > > > eg elements that have events bound to then have <button > > > jquery1234567="1" etc..- Ocultar texto de la cita - > > - Mostrar texto de la cita -