Welcome Guest, Not a member yet? Register   Sign In
Using the calendar class for a date picker
#1

[eluser]meigwilym[/eluser]
Hi,

I'm building a accommodation booking app.

The idea is after an accommodation type has been chosen, a calendar of available dates is displayed. This calendar should be easily browsed through to find an appropriate date.

So far I've built a page to display a calendar, with the available dates as clickable links.

Here the problems start. The accommodation type is in a hidden field on the page. If the user wishes to go to the next month, the links got to /booking/2008/06 where it shows a calendar for June 2008. However, I can't keep the accommodation type as a hidden field with this method.

Would it be possible to stick the accom type in a cookie?

And can I extend the basic HTML calendar to a user-friendlier JS calendar, using the js_calendar_pi plugin? Can this plugin be customized in the manner that I described above, with limited clickable dates?

Thanks for any help (I'm desparate!),

Best regards,

Mei


Messages In This Thread
Using the calendar class for a date picker - by El Forum - 05-13-2008, 05:37 PM
Using the calendar class for a date picker - by El Forum - 05-14-2008, 02:16 AM
Using the calendar class for a date picker - by El Forum - 05-14-2008, 03:28 AM
Using the calendar class for a date picker - by El Forum - 05-14-2008, 06:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB