Jump to content

Calender is working in mozilla or opera but not in IE???


gagan22

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.