Advanced Search

View RSS Feed

keyboard

  1. Show plain text in a password field

    I was browsing the internet and came across this tecnique and thought it was rather cool.

    To make plain text show in a password field, you need the following form -

    HTML Code:
     <form>
     <input type="text" name="passwordPlain" id="passwordPlain" value="Password" onfocus="swapPasswordBoxes('click')" style="display:none;"/>
     <input type="password" name="password" id="password"
    ...

    Updated 06-08-2012 at 10:23 PM by keyboard (swapped onclick for onfocus)

    Categories
    Post a JavaScript