In my page am having two fields like From Date and To Date.
Is there any script where there is a calendar picker and after choosing two dates and on click of submit button
It needs to do validations like
1) From Date should be lesser than To Date.
2) Leap year and etc.
I had first tried in Google only but am getting for a single field script, but here the case is am having From Date and To Date.
So I havent got any link which is comparing two dates. If you got any link please share with me.