![]()
![]()
|
![]() |
||||||||||||||||
|
|
A Javascript prompt is a code that will ask your visitor a question. The next code will show a greeting with your visitors name on your page. Put this code into your head tag: Add this next code in your body tag where you want it to show up: Here's an example: If you want a Javascript prompt that asks for a password and if your visitor gets it correct they will be taken to the password protected page, this isn’t a foolproof, there are ways to get around it. Here's the code: If you want a Javascript prompt to ask for your visitors name and then welcomes them, you would use this code: |
|
||||||||||||||