posted 11/18/2009 by mohit kumar
In this blog I will explain how to open a new window in JavaScript.
Example:-
<html> <head> <script type="text/javascript"> function openWin() { window.open("http://www.google.co.in/", "newWin", "status,width=500,height=500,top=300,left=300"); } </script> </head> <body> <form> <input type="button" value="Open window" onclick="openWin()"> </form> </body> </html> </html>
window.open() takes three parameters:-
Mohit Kumar
What kind of email newsletter would you prefer to receive from CodeAsp.Net?18