Jquery DatePicker for Taking Birthdays

put under the document ready function to initialize after document renders:

$(document).ready(function() {


$("#birthday").datepicker({
showMonthAfterYear:false,
minDate:'-90Y', maxDate:'-9Y',
yearRange: '1930:2000',
showOn:'focus', changeYear: true});

then there shoud be input element called (id of it not the only name attribute) birthday.

Then you'll have date can be selectable with 1930 and 2000. This range is good for me, perhaps also for you.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
 d8b                                              .d888 
Y8P d88P"
888
888 888d888 888 888 888 .d88b. 888d888 888888
888 888P" 888 888 888 d8P Y8b 888P" 888
888 888 888 888 888 88888888 888 888
888 888 Y88b 888 d88P Y8b. 888 888
888 888 "Y8888888P" "Y8888 888 888


Enter the code depicted in ASCII art style.