Problem in Accessing HTML ID element from JAVASCRIPT
For Calendar , we are unable to access the value of the Calender elements from javascript
Example
--------
HTML code
---------------
<td width="25%" NOWRAP style="text-align:left" class="dataLabelStyle">Request Date<font style="padding-left: 5px; color: red;font-weight: bold;">*</font></td>
<td width="50%" style="padding-left: 5px" >
{ScanDate input Date-Calendar}
</td>
We are Unable to access the element ScanDate from JavaScript by using document.getElementById(ScanDate).
As a temporary solution we are using the following method
-----
Right Click on the element at run time-->View Source and we are taking ID at the run time ID.
eg::
document.getElementById("cal$PpyPortal$pScanDateField").value;