- prompt
prompt
examples/js/prompt.html
<h2>Before</h2> <script> var name = prompt("Your name:", ""); document.write("Hello ", name); </script> <h2>After</h2>
<h2>Before</h2> <script> var name = prompt("Your name:", ""); document.write("Hello ", name); </script> <h2>After</h2>