»
EnglishFrenchVietnamese

Print - Prompting for your Name 2 - JavaScriptBank.com

Full version: jsB@nk » Browser » Prompting for your Name 2
URL: https://www.javascriptbank.com/prompting-for-your-name-2.html

Prompting for your Name 2 © JavaScriptBank.comThis JavaScript requests visitors type name before enter the web page and then it write their name into

Full version: jsB@nk » Browser » Prompting for your Name 2
URL: https://www.javascriptbank.com/prompting-for-your-name-2.html



JavaScript
<SCRIPT language=JavaScript>var name = prompt("Hi! What is your name?","")alert("Hello, "+name+", welcome to my page. You  are using "+navigator.appName+" version:"+navigator.appVersion+" and you came from " +document.referrer+". Have fun!")</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->