See my own post about this: http://groups.google.com/group/jquery-ui/browse_thread/thread/a1ff345a8ba99c51?hl=en#
It seems that this functionality is missing in 1.6. Dunno why though. -Maik On Feb 4, 8:08 am, Markus Wallén <[email protected]> wrote: > Hi, > Hope someone can help me out with this one. > I'm using the latest version of the ui datepicker and I'd like it to > be able to select a range. I've looked at the examples and as far as I > can see I do it correctly. Here's my > init script: > > <input type="text" id="txtDate" /> > > <script language="javascript" type="text/javascript"> > $.datepicker.setDefaults($.extend({ showMonthAfterYear: false }, > $.datepicker.regional['sv'])); > $("#txtDate").datepicker({ rangeSeparator: ' to ', firstDay: 1, > rangeSelect: true, showButtonPanel: true, numberOfMonths: 3, showOn: > 'button', buttonImage: '/Images/Calendar_scheduleHS.png', > buttonImageOnly: true }); > > </script> > > Have I missed something crucial? Right now it closes after i choose > the first date, and I'm not able to choose another. > > //Markus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
