Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><body><script>
- var a = prompt("Enter your name:");
- document.location = location.href + "#" + a;
- var b = location.hash;
- var c = b.length;
- var d = b.substring(1,c);
- document.write("Hello " + d + "!");
- </script></body></html>
Add Comment
Please, Sign In to add comment