Hi everybody,
First post here ;-)
I have been testing the following code (for a kind of "print
preview") :
var $htmlPrint = $('html').clone();
// alert($('html').html());
// alert($htmlPrint.html());
$htmlPrint.find('script').remove().end().find('.print').remove();
It works nice in FF, Opera but in IE6 the variable $htmlPrint.html()
returns an empty string.
Using jQuery 1.3.2.
Should it be a bug in the clone() function ?
Regards
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---