0

I have added Datepicker UI. Every time i add new gift Date textbox working fine with datepicker.

But when i click on submit button, It's not displaying date in json format.

Please see this link for example[ http://jsfiddle.net/pakpatel/5p6Uz/2/ ]

Could anyone explain me what am i doing wrong. Thanks in advance.

2
  • Please include the relevant code in the question :) Commented Oct 9, 2012 at 22:45
  • @AndrewWhitaker please see the link [ jsfiddle.net/pakpatel/5p6Uz/4 ] It's working now, But if you can help me out with this question. If first date choose like 10/12/2012 then on second date shouldn't be before 10/12/2012, Has to be after in datepicker. something like 10/13/2012. Commented Oct 9, 2012 at 22:59

1 Answer 1

3

You need to bind value:

<input class='required' data-bind='datepicker: choosedate, value: choosedate, datepickeroptions: { mindate:  new Date()  }, uniquename: true' />
Sign up to request clarification or add additional context in comments.

1 Comment

it's work after your Answer, Thanks Here is the link jsfiddle.net/pakpatel/5p6Uz/4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.