Javascript examples for Browser Object Model:Window open
Window open() Method - Open an about:blank page in a new window:
<!DOCTYPE html> <html> <body> <button onclick="myFunction()">Test</button> <script> function myFunction() {/*from ww w .j a v a 2 s .c o m*/ var myWindow = window.open("", "", "width=200,height=100"); } </script> </body> </html>