Jump to content

Help with javascript pop up box


Mike41692

Recommended Posts

He's right, read the tutorials, but your example is wrong, real.This is the code:

<script type="text/javascript">var url="put the url of the website you wanna go to"var yesorno=confirm("Wanna go to another site??")if(yesorno==true){window.location=url}</script>

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...