title: Using a value in HTML
body: <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/vbscript"&gt;
  
  Function myFunction(tx)
  fname=InputBox(tx,,,700)
  document.getElementById("mySpan").innerHTML=fname
  End Function
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  
  Email: &lt;input 
   mail="email"
   type=text
   &gt; &lt;br/&gt;
  Username: &lt;input
   user="user"
   type=text&gt;
   &lt;br/&gt;
  Password: &lt;input
   pass="pass"
   type=password&gt; &lt;br/&gt;
  Submit: &lt;input
   value="Submit"
   type=submit
   onclick="myFunction(&lt;pass&gt;)"
   &gt;
  
  &lt;span id="mySpan"&gt;&lt;/span&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>-- My function is supposed to open up an InputBox (using VBS) and display the password entered. Unfortuneatly, I have no clue how. How can I get the entered text from the input "password"?</p>