Home » » Open a New Window With a Button

Open a New Window With a Button

If you're looking for a JavaScript code that will enable you to open a new window with a button, this JavaScript code may be your answer.

This JavaScript code provides a great way for your visitors to open a window simply by clicking on a button. This is a great way to display tips, images, load a new web page, or whatever you'd like.

Click the above button to open a new window.
In addition to using this code within your web pages, you can also use it within your HTML ebooks, as long as your software supports JavaScript.
Place the following code where you would like the JavaScript button to appear: 
<input type="button" value="Open Window"

Edit the JavaScript code indicated in red to suit your needs.

Share this article :


Post a Comment

Copyright © Online Business - All Rights Reserved
Proudly powered by Blogger