Am I missing something in the following jQuery code?
var dob = $(\'#date\').val(); if(dob != \'\'){ var today = new Date(); var dayDiff = Math.ceil(t
Firstly the id mentioned in the textbox should not contain '#'
I have also Created a fiddle
Oops i had't checked the date it was posted on