Prompt for Name

Personalize your page with this very simple Java Script that asks the vistor for his or her name when entering your page, then prints a welcome message using there name. Very easy install for JavaScript newcomers.

Here is an example of the output is:

Make your code:

To make the code fill in the form below.

The question you wish to appear in the prompt.( eg. What is your name?)

The default message if they do not wish to enter their name. (eg. nobody)

The text that you wish to appear before the name. (eg. Welcome)

The text you wish to appear after the name. eg: I hope you enjoy your visit.)

Copy the code below and paste it into you HTML file were you would like it to appear.

Other Tools

Drop Down Menu
A drop down menu is a popular way to cram a lot of links into a small space. The user...
Button Alert/Message
If you're just looking for a quick way to tell your visitor something, use this JavaScript...
ASCII Encryption
A very simple encryption method that uses random values for each character. Interestingly,...

Forum Topics

FOR ENGLISH Hello, sorry to my English. I use "Google translate". Please, help. When I go...
Help needed: To add adult image warning
I see that your script is very good and functioning very well. I would like to know wether it is possible to...
I can not remote upload
Upgrade version 1.6.5 but can not remote upload. I get this message: Fatal error: Call to undefined function...
Rilch Enterprise Free hosting check us out
Resize not working for images larger than 3300x3300
When trying to upload an image that has to large of dimensions, it will not upload the photo even when trying...