Basic Ajax Syntax
10
Cookie Handle
10
AJAX: In situ edit
A simple edit in place using Prototype, based on the tutorial @ 24ways.org
A simple edit in place using Prototype, based on the tutorial @ 24ways.org
10
A small example demonstrating inheritance in Javascript, complete with calling base class constructors and methods. For the more detailed description, visit http://www.adampresley.com.
10
Highlight table row on rollover.
10
Table Row Hove
10
mattrmiller
This is a correct way to do login form auto-focus, checking to see if either username or password have focus already. This prevents someone from typing a username hitting TAB, then having JavaScript chime in, resetting focus to Username while user is typing in their password. In this case, the password is appended to the username which is in plaintext.
10
This will convert the time from number of seconds to HH:MM format
9
This script lets you do any action the number of times specified.
9
There seems to be so many hide/show scripts out there, so here's the functions I wrote and use on a regular basis - there are 7 functions, hide, show and toggle by id or class - and the getElementByClass function that does not exist as a built in Javascript function...
This is in response to the flurry of visibility scripts that just don't have all the pieces needed to make them totally useful.
This is in response to the flurry of visibility scripts that just don't have all the pieces needed to make them totally useful.









