date of birth validation using java script-very urgent

hi all,i am new to javascript.i need to validate the date of birth entered by the user.date entered should not be greater than today's date.help me out with the code.i need to display only error messages without using alert boxes.
[245 byte] By [hygtya] at [2007-11-27 2:34:58]
# 1
user Date() function in javascript...This link wld help you in getting some idea on date functions.. http://www.w3schools.com/js/js_obj_date.aspregardsShanu
mshanua at 2007-7-12 2:52:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...