View RSS Feed

Post a JavaScript

Custom, non DD related JavaScripts from other members.

  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:
     <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)

    Post a JavaScript