Hi. I'm using the jQuery UI datepicker in inline mode, so it attaches itself to a div instead of a text input. I'm trying to set it up so that people can click on dates as much as they like, and the calendar stays on the screen, and each time a date is clicked on, it opens up a new page in a modal pop-up window provided by Colorbox.
Using datepicker's onSelect, I can get it to work just fine the first time someone selects a date. However, it appears that datepicker doesn't reset. If I click on a second date, then it brings up the new page as if I'd clicked on the first one again. It does this regardless of where in the calendar I click, even if it's not a link. I've tried destroying the calendar from onSelect, which does indeed make it disappear. I've tried destroying and recreating it, but although the month displayed resets, it has the same problem that clicking anywhere in the calendar goes to the URL for the original date. Could anybody please shed some light on what I'm doing wrong? Thank you very much, Zoe. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
