title: My Password text box shows characters
body: <p>I use asp.net log in and I want to have some text in my text box as default and after clicking on it, the text box will be clear. I have done it and it works fine. Like picture number 1. But when I use the tab key and go to the password field and typing without any enter, it shows the character like picture number 2!!! it should be stars! or black circles! </p>
  
  <p>for my password text box I used this code:</p>
  
  <pre><code>&lt;asp:TextBox ID="Password" runat="server" TextMode="SingleLine"  
   onclick="this.value=''; this.type='password'; " Width="166px" 
   Font-Size="9pt"  Font-Names="Tahoma"&gt;Password                                                    
  &lt;/asp:TextBox&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/hoiLz.jpg" alt="enter image description here"></p>
  
  <p>Picture number 1</p>
  
  <p><img src="https://i.stack.imgur.com/1I8yp.jpg" alt="enter image description here"></p>
  
  <p>Picture number 2</p>
  
  <p>any idea for this problem?
  Please help me.</p>