Back to Index

Ask Name 001



This a simple Prompt, it does nothing but welcomes the Visitor when he inputs their name.  If they don't input a name it welcomes them anonymously.

This script doesn't need to be Configured.  It should be pace in the body of the HTML Document


ans = prompt("Name?","")
if (ans) {
alert("WELCOME! "+ans)
alert("Welcome Anonymous Visitor")



Copyright 2003