Handy String Methods
8
An easy way to hide and show div's using Javascript and CSS.
Basically just a slight variation on this script by Real Gagnon.
Basically just a slight variation on this script by Real Gagnon.
11
Set a Cookie
13
Delete a Cookie
11
Get a Cookie Value
9
A simple back button in JavaScript.
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.
8
Truncate String
14
Strip HTML
-11
Is String Empty
-4
Is String Numeric









