checkBirhdayAndApplicationDate : function () { jQuery ( '#Candidates_editView_fieldName_date_of_birth' ). on ( 'change' , function (e) { jQuery ( '#testBirthday' ). text ( '' ); var birthdayDateString = jQuery ( '#Candidates_editView_fieldName_date_of_birth' ). val (); var birthdayDate = new Date( birthdayDateString . replace ( /(\d{2})-(\d{2})-(\d{4})/ , "$2/$1/$3" ) ); var today = new Date(); var birthday_int = Date. parse ( birthdayDate ); var today_int = Date. parse ( today ); if ( birthday_int > today_int ) { jQuery ( '#testBirthday' ). text ( 'You can not enter Birthday date in the future!.' ); } }); // jQuery('#Candidates_editView_fieldName_application_date').on('change',function (e) { // jQuery('#testApplicationDate').text(''); // var applicationDateString = jQuery('#Candi...