0
luizluan created
I need to open a blank page and insert html in it. The problem is that when I use the window.open () function that should open a blank page , it returns to the site's domain . How can I open a blank page without the template . I need that blank page to insert html in it to print a custom report .
2 Answer(s)
-
0
I fixed i use
var newWin = open('about:blank', '', 'height=300,width=300'); newWin.document.write(html);
-
0
I fixed i use
var newWin = open('about:blank', '', 'height=300,width=300'); newWin.document.write(html);
Have an answer to this question?
Log in
and write your answer.