0

I am looking to use the datepicker to set up an ordering form on my website.

I have a rule that if a user can order before 3pm (GMT) then they can order the same day, if they try and order after 3pm then they need to choose the next available date.

I can use datepicker to set the minDate to +1 and it always picks a day ahead, but I would prefer to use the 3pm rule.

I have tried a few different ways, but I am not sure how to do this.

Any help much appreciated...

Thanks

4

1 回答 1

1

You should use the time on the server to deliver the JavaScript to the page with the relevant date set.

于 2012-05-03T11:30:21.653 回答