Commit bee22641 by Jansa Jose

dob

parent fb7997c5
......@@ -2725,12 +2725,9 @@ $('#reg_choose_pat').click(function(){
/* REGISTRATION DATEPICKER JS */
/*----------------------------*/
var date = (new Date()).getFullYear();
console.log(date);
/*var date = (new Date()).getFullYear();
var cur_date = date - 18;
console.log(cur_date);
var max_date = cur_date - 120;
console.log(max_date);
var max_date = cur_date - 120;*/
$('#registration-container input').datepicker({
autoclose: true,
onSelect: function(dateText) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment