gagan22 Posted June 29, 2009 Share Posted June 29, 2009 Hi all, I am in confusion i am using calender in one of my application but calender is working in all other browser but it is not working in IE . In this i am using two calender in form one calender for date from and other calender for date to . What problem can be there . Please help me . It is very urgent for me. I am sending code of calender which i am using <tr> <td> </td> <td align="left"><input name="datefrom" id="datefrom" style="WIDTH: 75px" value="" maxlength="12" readonly="" /> <img src="Images/Calendar.gif" width="22" height="24" onClick="dp_cal.toggle();"></td> <td> </td> <td><input name="dateto" id="dateto" style="WIDTH: 75px" value="" maxlength="12" readonly="" /> <img src="Images/Calendar.gif" width="22" height="24" onClick="dp_cal1.toggle();"></td> </tr> and this is code of function: <script type="text/javascript"> /*You can also place this code in a separate file and link to it like epoch_classes.js*/ var bas_cal,dp_cal,ms_cal,dp_cal1; window.onload = function () { dp_cal = new Epoch('epoch_popup','popup',document.getElementById('datefrom')); dp_cal1 = new Epoch('epoch_popup','popup',document.getElementById('dateto')); }; </script> If you have any other code for calender in which calender application can work. Please suggest me for that. Thanks, Gagan Link to comment https://forums.phpfreaks.com/topic/164064-calender-is-working-in-mozilla-or-opera-but-not-in-ie/ Share on other sites More sharing options...
gagan22 Posted June 29, 2009 Author Share Posted June 29, 2009 Hi all, I am in confusion i am using calender in one of my application but calender is working in all other browser but it is not working in IE . In this i am using two calender in form one calender for date from and other calender for date to . What problem can be there . Please help me . It is very urgent for me. I am sending code of calender which i am using <tr> <td> </td> <td align="left"><input name="datefrom" id="datefrom" style="WIDTH: 75px" value="" maxlength="12" readonly="" /> <img src="Images/Calendar.gif" width="22" height="24" onClick="dp_cal.toggle();"></td> <td> </td> <td><input name="dateto" id="dateto" style="WIDTH: 75px" value="" maxlength="12" readonly="" /> <img src="Images/Calendar.gif" width="22" height="24" onClick="dp_cal1.toggle();"></td> </tr> and this is code of function: <script type="text/javascript"> /*You can also place this code in a separate file and link to it like epoch_classes.js*/ var bas_cal,dp_cal,ms_cal,dp_cal1; window.onload = function () { dp_cal = new Epoch('epoch_popup','popup',document.getElementById('datefrom')); dp_cal1 = new Epoch('epoch_popup','popup',document.getElementById('dateto')); }; </script> If you have any other code for calender in which calender application can work. Please suggest me for that. Thanks, Gagan Link to comment https://forums.phpfreaks.com/topic/164064-calender-is-working-in-mozilla-or-opera-but-not-in-ie/#findComment-865481 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.