views:

1778

answers:

4

I need to display an inline calendar that allows one to click 1 or more dates for selection. Can the JQuery UI datepicker 1.7.1 do this?

+2  A: 

There is an extension to the datepicker which allows you to do all-sorts of things including select ranges. It's developed by a third-party and available here:

http://www.filamentgroup.com/lab/date_range_picker_using_jquery_ui_16_and_jquery_ui_css_framework/

I've never tried it.

Andy Hume
I didn't know about this plug-in. Excellent find +1
ichiban
A: 

I've posted a possible answer to a similar question here: http://stackoverflow.com/questions/1452066

Tevin
A: 

Datepicker in jQuery UI 1.7.1 doesn't allow multiple dates selection, but I just made an extension to that plugin that makes it possible: http://dubrox.blogspot.com/2010/09/multiple-dates-picker-for-jquery-ui.html

dubrox
A: 

@dubrox:

In your plugin, could you please tell me how do you make a callback to know which dates are selected?

Thanks

Shouvik