EchoEcho's Javascript tutorial provides a good start on how to learn javascript. I like how they have specific sections the most common uses of javascript(Browser detection, form validation, animated buttons, cookies, drop down menu, multiple link, frameset script, and popup windows).
Here is a PHP cheat sheet I found through a google search. It provides a reference for listing date format arguments, regular expression syntax and common functions.