title: Javascript - Masking a password on a JS alert box
body: <p>I have the following</p>
  
  <pre><code>var validate=prompt("Enter your PIN","Enter your PIN");
  </code></pre>
  
  <p>This works fine except it shows the password when typing it.</p>
  
  <p>Is there any way to mask the password being entered?</p>
  
  <p>Cheers,</p>