JQuery datepicker defaultdate from another datepicker
- by Paul
Hi,
I have several jquery datepickers on my asp page and I want to set the defaultdate of date picker to be the same as the previous datepicker.
I am currently using
defaultDate: document.getElementById('<%=txtFirstDate.ClientID%>').value
This works okay, but obviously errors if firstDate is null. Should I be using OnSelect function…