»
AnglaisFrançaisVietnamien

Imprimer - Prompting pour votre Nom 1 - JavaScriptBank.com

Version complète: jsB@nk » Browser » Prompting pour votre Nom 1
URL: http://www.javascriptbank.com/prompting-for-your-name-1.html

Prompting pour votre Nom 1 © JavaScriptBank.comCet JavaScript demandes de visiteurs de type avant d'entrer le nom de page web et ensuite écrire leur nom dans la page Web.

Version complète: jsB@nk » Browser » Prompting pour votre Nom 1
URL: http://www.javascriptbank.com/prompting-for-your-name-1.html



JavaScript
<SCRIPT language=JavaScript><!-- Hide the script from old browsers --// Michael P. Scholtis (mpscho@planetx.bloomu.edu)// All rights reserved.  July 28, 1996// You may use this JavaScript example as you see fit, as long as the// information within this comment above is included in your script.var namePrompt = prompt("Please enter your name.","");function dispname(namePrompt){document.write(" "+ namePrompt);}// --End Hiding Here --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<SCRIPT language=JavaScript><!--   {dispname(namePrompt);} //--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->