View Full Version : greyout dates in popup calendar

01-07-2010, 09:13 PM
I have a reservation page where there is a maximum day limit which can be set from 1 thru 5 on config.php

After setting it, from addreservation.php page i will retreive it and based on the value i have to show only those dates below the limit from today's date.

suppose the noofdays is set to 4, calendar should show only those 4 dates

01/10/2010 and grey out other dates.

<td align="left"><input name="ResrvDate" type="text" id="ResrvDate" value="<?php echo isset($_SESSION['ResrvDate']) ? $_SESSION['ResrvDate'] : "";?>"
readonly="readonly" style="width:80px;" />
<img alt="" id="CalImg" onclick="showandgetdate('ResrvDate');" height="15"
src="css/images/icons/cal.png" width="16" />

01-07-2010, 09:50 PM
You have only given a portion of a table cell and no relevant PHP.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum