Nested Drop Down Select Box (Tree View)
10
How Long Has It Been Since a Certain Date?
10
The below code will generate a form dropdown for all the days of the month, with today's day selected. Handy for those date pickers!
10
Here is a pair of function to use in combination. The first one will change newlines into tags to store into a database. The second one does the reverse so you can edit the content of the database without having the tags show when you edit the content. If you can find improvements or have comments please let me know
10
Give this little function a start date and number of days and it will calculate the end date.
10
I'm trying to load an object into a session variable.
10
A function that will either read a file or read a string, and parse a random line from it. Very simple.
10
10
Validate Email Address Against MX
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.









