title: Jquery : Copy masked password value correctly
body: <p>In my rails application I have a form where I am showing password field and on jquery ajax success callback I am updating the value inside the password field.</p>
  
  <p>Example : </p>
  
  <pre><code>$("#some-field").val('password-value');
  </code></pre>
  
  <p>After doing this, field is updated with the password and I see masked password in the password field.</p>
  
  <p>Now My Requirement is I need to copy this masked password value and have to use it in some other browser window and need to paste in some other website's password field.</p>
  
  <p>So I am searching for a good way to achieve this.</p>
  
  <p>Till now I got many jquery plugins which are masking the value for normal input text field using mask(), but the problem I am facing is copying of masked value and mainly value should get copied properly when used in some other places.</p>
  
  <p>Can any one has any idea on this..</p>
  
  <p>Thanks you in advance</p>
  
  <p>Dean</p>