Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q1556 How can I ask the user their name and then display it on the page?

You are here: irt.org | FAQ | JavaScript | Misc | Q1556 [ previous next ]


<script language="JavaScript"><!--
document.write('Hello ' + prompt('What is your name','stranger'));

©2018 Martin Webb