Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Untitled Document</title>
- </head>
- <body>
- <script>
- //Add as many links as needed.
- var randomlinks=new Array()
- randomlinks[0]="http://form.jotform.co/form/33192917670863"
- randomlinks[1]="http://jotformpro.com/form/33193099272964"
- randomlinks[2]="http://jotformpro.com/form/33193046578965"
- randomlinks[3]="http://jotformpro.com/form/33193270124951"
- function randomlink(){
- window.location=randomlinks[Math.floor(Math.random()*randomlinks.length)]
- }
- //-->
- </script>
- <form>
- <p><input type="button" name="B1" value="Perform Test" onclick="randomlink()"></p> </form>
- <!--Uncomment below to use a regular text link instead
- <a href="javascript:randomlink()">Perform Test</a>
- -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement