Archive for March, 2008

Using jQuery to make a login form more sleek

on Wednesday 5th March, 2008 Gabe speculated thusly…

The following code is well commented, please read the comments for a thorough understanding.

<script type="text/javascript" charset="utf-8">
$(document).ready(function(){

// The following js code will take the standard login form and hide it's
// labels. It will then change the password input type to text
// (so that normal letters are
// displayed in it), set the value of the email input to 'email. Set the
// value of the password input to 'password. These values server as the
// new labels.
(more...)

Posted in JavaScript, Programming, jQuery

No Comments »