[jQuery] Re: strange bug with IE and .html()

2008-06-10 Thread Richard W
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 ver

[jQuery] Re: strange bug with IE and .html()

2008-06-09 Thread Shaun
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: > > > T

[jQuery] Re: strange bug with IE and .html()

2008-06-07 Thread Ariel Flesler
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 thi

[jQuery] Re: strange bug with IE and .html()

2008-06-06 Thread Shaun
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(). > > W

[jQuery] Re: strange bug with IE and .html()

2008-06-06 Thread Ariel Flesler
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 Flesler http://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