Anubhav Chaudhary

Anubhav Chaudhary

  • 26
  • 41.8k
  • 20m

How to Calculate Age from D.O.B

Dec 10 2013 3:28 AM

I have used Ajax Calender to find the Age, I have used the calender on one textbox and shown the Age on Next Texbox. Till now everything is fine, but Now I have two problems

First Problem:- I want the Age Textbox to be Disable so that user can't change the Age, but as I make it disable it doesn't store anything in the Database, now I don't understand what to do.

Second Problem:- It might be possible that User start entering the D.O.B manually and not by selecting it from calender, in that case nothing is calculated, how to apply functionality in such a manner that still Age get's calculated.

Thanks is Advance.


Answers (4)