if ($.browser.msie) { $("#content *").each(function() { $.removeData(this); }); } var html = $("#content").html();
http://docs.jquery.com/Internals/jQuery.removeData (although the above page isn't very helpful in this situation) On Jun 9, 9:00 am, Shaun <[EMAIL PROTECTED]> wrote: > thanks very much > will give it a try > > On Jun 7, 3:55 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > > This should do, haven't tested though. > > > $().html().replace(/jquery\d+="\d+"/ig, ''); > > > -- > > Ariel Fleslerhttp://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 getjquery > > > > >attributesincluded 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 -