To open a new window in JavaScript we will use window. Open function where we pass desired URL As a parameter which will open a new window and with given URL HTML | copy code |? 1<script>2function open() 3{4window.open("http://error.txtwheel.com");5}6</script>7<input type="button" value="Open Window" onclick="open()">8
Read More…