Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width">
- <title>Jasper Button</title>
- <script type="text/javascript">
- function redirect()
- {
- var url = "http://www.facebook.com";
- //window.location(url);
- window.location.href = url;
- //alert(''+url)
- }
- </script>
- </head>
- <body>
- <button name="redirect" onClick="redirect()">Jasper</button>
- </body>
- </html>
Add Comment
Please, Sign In to add comment