i add div to new document but it not added css. it only added start to body tag.
<script> function nWin() { var w = window.open(); var html = $(".drag-right").html(); $(w.document.body).html(html); $(w.document.body).addClass('html-content'); //$(w.document.body).prepend('<link rel="stylesheet" href="css/style2.css" type="text/css" />'); } $(".live").click(nWin); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)