Please send questions to st10@humboldt.edu .
<html>

<!-- 
     js_prompt1.html
     Playing with a JavaScript prompt popup/dialog
     
     adapted from example in:
     http://www.w3schools.com/js/js_popup.asp
     a JavaScript tutorial from w3schools.com
     adapted by: Sharon Tuttle
     last modified: 8-27-06
-->

<head>
    <title> js_prompt1: Playing with a JavaScript prompt
            popup/dialog </title>
</head>

<body>

    <h1> CIS 180 Prompt Example </h1>

    <h3> js_prompt1.html </h3>

    <h3> ADAPTED from example in: <br>
         http://www.w3schools.com/js/js_popup.asp, <br>
	 a JavaScript tutorial from w3schools.com <h3>

    <h4> (adapted by Sharon Tuttle, last modified 8-27-06) </h4>

    <hr>

    <script type="text/javascript">
        <!--
        var user_name = prompt("Enter your name", "Stranger")

        document.write("<h1> HOWDY, " +  user_name + " </h1>")
        //-->
    </script>
    <noscript> 
        <hr> 
        <h3> Your browser does not support JavaScript, or has it disabled; <br> 
             please note that, as a result, this page will not work. </h3> 
        <hr> 
    </noscript> 

    <hr>
    <h2> (especially customized for
         <script type="text/javascript">
             <!--
             document.write(user_name)
             //-->
         </script>
         ) 
    </h2>

</body>
</html>


</body>
</html>