I have a start and stop textbox field which triggers jquery calendar. I want to know whether it is possible to achieve when I select a date on the start, will populate the same on the stop?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
use
onSelectcallback to copy the start date into end date field.EDIT::
EDIT for end date::
the two edits combined will make your entire code. Also you may want to add a if condition in
onSelectto check if there is a value already inendDateso that you won’t accidentally overwrite it.