Jump to content

2 javascript pop up windows


real_illusions

Recommended Posts

Look. Here's a sample program, post it on a try-it editor and see it work.

<html><head><script type="text/javascript">function uRl(){window.open("url 1")}function uRK(){window.open("url 2")}</script></head><body><input type="button" value="Url 1" onclick="uRl()"><input type="button" value="Url 2" onclick="uRK()"></body></html>

Do you get it? :)~Chocolate570

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...