Closed GoogleCodeExporter closed 8 years ago
You could try passing the "month" and "year" settings objects (as the month and
year that you want the first calendar to show. Let me know if it helps or not
and I'll try to investigate further if not...
Original comment by kel...@lucklaboratories.com
on 9 May 2011 at 11:55
sorry, i do not really understand? where do you think i need to pass the
"month" and "year" too?
Original comment by welshy1...@gmail.com
on 9 May 2011 at 12:02
They are settings parameters as documented here:
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/documentation.html
So you can pass them the same place you initialise the datePickerMultiMonth
(along with the clickInput etc)
Original comment by kelvin.l...@gmail.com
on 9 May 2011 at 1:09
ahhh, i hadn't seen the documentation, what an idiot!
i have managed to achieve what i was after not using the "month" setting, but
instead binding "dateSelected" and using "dpSetDisplayedMonth" to set the month
back (if needed);
I have updated:
http://paulwelsh.info/sandbox/datePicker/index.html
...with my code and supplied examples of how to use it if anyone else would
like to use this kind of functionality!
Thanks for the quick responses Kelvin!
Original comment by welshy1...@gmail.com
on 9 May 2011 at 2:15
Great - glad you figured it out and thanks for the update and the example page!
Original comment by kelvin.l...@gmail.com
on 9 May 2011 at 2:32
Original issue reported on code.google.com by
welshy1...@gmail.com
on 9 May 2011 at 11:20