JQuery Date Picker: Show Two Months at Once
Displaying two months instead of default one, is really simple. All you need is one HTML input text field with id set to your liking. Date picker has an option numberOfMonths which of course tells us how many months to show (it can be more than two also).
So, create a text field:
<input name="date" id="date" value="" />
In your HTML header or in separate file put something like this:
This will produce a picker like on this image:
And you’re now ready to pick dates!
Share this story:
Leave a Reply