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) { var now = new Date(); function isLeap(year) { return year % 4 == 0 && (year % 100 != 0 …
Continue reading JQuery – Calculate age from DOB