Hi, I was wonder if any JavaScript pros could point me in the right direction here.
I don't know much about scripting yet but I'm trying to find 2 small validation programs, or figure out how to write them myself.

For one, I need a text box where you would type your age, and have a submit and reset button. Then have JavaScript code that would basically validate whether or not you entered a number and have a pop up window stating whether or not you did.

And for another, I need to validate whether or not a user typed in the date in the correct format.
(meaning 12/8/2009 or 12-8-2009. it can have either of those 2 symbols.)
And again, have a pop up window stating whether or not you did.

I know how to make the buttons, I just know nothing about JavaScript. I'm not asking anyone to just write the program for me but if you could either explain a little bit about what a program like that consists of or if you know a good tutorial, I'd be forever grateful.