JSP: select the date of birth in one text box

Jan 21 2014 7:39 AM
If i select the date of birth in one text box it automatically caliculate next 60 years from dob and is show the date in another text box
example:
1 st textbox DOB:12/01/1980
second text box  :12/01/2040