Sunday, September 14, 2008

absent note

first up, please accept my apologies for being absent today. I did a pretty stupid thing on Saturday and need to lie around feeling remorseful for a bit (the pic here isn't my bike, but it's a pretty close approximation - I lost a little skin, sprained a few joints, cracked a rib, may have broken my thumb... and got off pretty lightly, all things considered).

On the Javascript front, I believe we just finished looking at form validation. To practice a bit I'd like you to create a contact form which prompts for a name, phone number, email address and comment - checking validity for each before submitting. For bonus points add an age field and check for a valid age (say between 5 and 105). Errors or omissions should be flagged by revealing an error message beside the relevant field using CSS and DOM magic.

Finished? Read through and try out some more advanced DOMination

CU soon, Peter

Image: 'Picture073_11Sep04'
http://www.flickr.com/photos/89689539@N00/373976620

1 comment:

jack said...

Hey,
Thanks for sharing this information.
:)I am also interested in latest news, sometimes i posted on
Web Design Companies UK