This code is basically for popup the calender it works properly in IEbut not works in Fire Fox..
cal.html
<head>
<script language="javascript" src="date/popcalendar.js"></script>
</head>
<body>
<input type="text" name="arrival" value="<?=$arrival;?>" size="20" style="width:100px" class="inputBox"/>
<script type="text/javascript" language="javascript">
if(!document.layers) {
document.write('<a href="Javascript:void(0);" onclick="popUpCalendar(SearchForm.arrival,SearchForm.arrival, SearchForm.departure, \'yyyy-mm-dd\');"><img src="date/cal.gif" border="0" align="absmiddle" alt="Change Date"></a>');
}
</script>
</body>
popcalendar.js
I have uploaded the file with this thread..



but not works in Fire Fox..
Reply With Quote

Bookmarks