rmtweb.co.uk
JQuery – Calculate age from DOB
So a user has entered their date of birth in a text box and you want to calculate their age, and take in to account leap years. Create a JQuery function (this code): function calculateAge(dob) { va…