Avatar of ITsolutionWizard
ITsolutionWizard
Flag for United States of America asked on

Jquery DOB

Hi all,

Looking for two enhancement for DOB textbox on my webpage.

1. onclick pop up calendar for birthday that show giant year/month. I try to avoid the user to keep click back to their birthday year. It is not user friendly. So I hope to pop up many years as possible so he/she can select the birthday easier.

2.  also look for javascript or jquery codes to convert mm/dd/yyyy to the age that show on <p id="exactAge"></p>

Thank you for all your helps.

<div class="ui-input">
  <input type="date" required tabindex="3" maxlength="10" name="dob" id="dob" onkeydown="return DateFormat(this, event.keyCode)" placeholder="Enter DOB" value="<%= GetDOB(Request.QueryString["Primary DOB"]) %>" class="form-control" />
  <label class="ui-icon"><i class="fa fa-birthday-cake"></i></label>
  <p id="exactAge"></p>
</div>

Open in new window

CSSJavaScriptjQuery

Avatar of undefined
Last Comment
lenamtl

8/22/2022 - Mon
ITsolutionWizard

ASKER
Any helps?
ASKER CERTIFIED SOLUTION
lenamtl

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes