jQuery.html() removes scripts and styles

Posted by mofle on Stack Overflow See other posts from Stack Overflow or by mofle
Published on 2010-05-20T11:50:32Z Indexed on 2010/05/20 12:10 UTC
Read the original article Hit count: 199

Filed under:
|
|
|
|

Is there a way to use jQuery.html() and not loose the scripts and styles? or any other non-jQuery way?

I'm trying to output the full HTML of the page the user is on. Is this even possible?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html