One of the core team might be able to tell you why the attributes are added for IE, it's probably something to do with some fix for a bug/feature of IE.
What are you trying do when you compare the HTML? If it's just a small block of code (say contained in a div with id="block") you could do the replacement with a fair amount of efficiency: $('#block *').each(function() { $.removeData(this) }); If it's a larger block of code then perhaps you could rethink what or how you're comparing. Karl Rudd On Sat, Mar 29, 2008 at 9:15 AM, domi01 <[EMAIL PROTECTED]> wrote: > > The .removeData(elem) works if you have the HTML element with the > jQueryxxxxxxxxxxx attribute. > In my case I don't know those elements . > > I could make a loop on all the elements and calls the function in > order to remove those tags. > This process won't be efficient. > > In my case, the problem occurs only with IE. With Firefox the > attributes jQueryxxxxxxxxxx are not added. >