0

Is there a way to set the jquery ui date picker to only show a couple of specific months? For example I'm setting this up on a form so when a user is inquiring about availability the only months that show up on the jquery date picker are June / July?

1

3 Answers 3

1

You can restrict dates by placing a max/min:

http://jqueryui.com/demos/datepicker/#min-max

But I don't think you can't pick & choose specific months i.e. Allow May & July, but disable June

1

Try this one also: very cool month and year picker. you can select only specific months: http://tinytools.codesells.com/PeriodSelector

0

Try using the maxDate and minDate options.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.