title: Change placeholder input type text to password on focus jquery
body: <p>Ok I have an input tag. I used jquery input hints so it displays the title="password". But if it's type is a password it wouldn't be displaying the the title it would simply just look <strong>*</strong>. So I need to put input as type"text" then change it to type:"password" on focus and back to text when it's out of focus. How do i do it with jquery?</p>
  
  <pre><code>&lt;input name="pwd" type="text" class="pwd" value="" title="Password"/&gt;
  // look like below on focus and back to text on focus out
  &lt;input name="pwd" type="password" class="pwd" value="" title="Password"/&gt;
  </code></pre>