Wednesday, December 6, 2006

In an HTML form I have a Button which makes us to open another page in 15 seconds. How will do you that ?

We can use the setTimeout method to use delay time and then the window.open method to open the new page. The script could be something like the following. We could call the doPopup() method on the click event of the button placed on our webpage.

code:


No comments: