jcfreire
Junior Member
Posts: 2
Registered: 5/3/2007
Location: Brazil
Member Is Offline
|
| posted on 5/3/2007 at 07:38 PM |
|
|
Error document.getElementById(this.divName) has no properties
Hi,
I am getting the error document.getElementById(this.divName) has no properties (line 652 of the script) when using the calendar in a JSP page. The
code is:
| Code: |
<td>
<html:text name="RFBForm" property="dataR" size="10" style="font-size: 90%; font-family: Verdana"/>
<a href="javascript:cal1.popup();"><img src="img/cal.gif" width="16" height="16" border="0" alt="Click aqui para selecionar uma
data."></a><br>
</td>
.....
<script language="JavaScript">
var cal1 = new calendar1(document.forms['RFBForm'].elements['dataR']);
cal1.year_scroll = true;
cal1.time_comp = false;
//-->
</script>
| Code: |
Please, could some one help me? |
|
|
|
|
jcfreire
Junior Member
Posts: 2
Registered: 5/3/2007
Location: Brazil
Member Is Offline
|
| posted on 5/3/2007 at 07:51 PM |
|
|
Sorry... I made a mistake using another calendar pop-up...
|
|
|