title: How to write a popup window to pass the password to main window?
body: <p>I know that we can use these line of codes as below to pass a password to main window in html:</p>
  
  <pre><code>var password ;  
  password = prompt('&lt;fmt:message key="ipack.delete.password"/&gt;',''); 
  if (password){
      document.location = link+ "&amp;pw="+password;
  }
  </code></pre>
  
  <p>But, the problem is that if I use "prompt", the input field to type password will not be rendered such as password input. I want to hide the characters in password like <em>*</em>*. Could you please help me to solve it?</p>
  
  <p>Thanks a lot,</p>