Working with Calendars
I am using the below code to create a calendar drop-down box to allow the users to select a date. I need to set the system date or the current date as the default. Any suggestions?
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input type="text" name="ex2" size="11"></td>
<td><a href="javascript: void(0);" onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';" onclick="g_Calendar.show(event,'frm.ex2', false, 'dd/mm/yyyy', new Date()); return false;"><img src="images/calendar.gif" name="imgCalendar" width="34" height="21" border="0" alt=""></a></td><td width="100"></td>
</tr>
</table>
|