dip vyas

dip vyas

  • 1.7k
  • 162
  • 3.4k

how to redirect div in another page with same domain?

Jul 4 2019 11:02 PM
<script>
function nWin() {
var w = window.open();
var html = $(".drag-right-2").html();
$(w.document.body).html(html);
$(w.document.body).addClass('html-content');
}
$(".live").click(nWin);
</script>
 
 
 
here is my code it work properly but i want same domain in redirect page because of css issue. it started from body element so css is not working...

Answers (1)