Javascripts > Misc Javascripts > User Input
Script Title: User Input
Description: This script lets your visitors interact with your webpage by entering their name.
Example: Available
Copy the following code into your <HEAD></HEAD> tags.<script language="JavaScript"> <!-- var visitor_name = prompt("What is your name?","") //--> </script>
Copy the following code between the <BODY></BODY> tags of your html page.<script language="JavaScript"> <!-- document.writeln("Welcome " + visitor_name + " How are you?"); //--> </script>
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email