Hi,
I was trying to enable/disable text boxes depending on the radio button selection in radio group. I was doing the following and this doesn't work:
<html:text property="beginDate" size="12"
maxlength="10" />
<html:radio property="dateOrsc" value="userId" javascript:enableDate();"/>By User ID</td>
function enableDate(){
document.eSupportTrackingReportForm.beginDate.disabled="false";
}
I tried this too:
document.eSupportTrackingReportForm.beginDate.enabled="true";
and
document.eSupportTrackingReportForm.endDate.enabled
Please help me out!!
Thanks
Subha
I was trying to enable/disable text boxes depending on the radio button selection in radio group. I was doing the following and this doesn't work:
<html:text property="beginDate" size="12"
maxlength="10" />
<html:radio property="dateOrsc" value="userId" javascript:enableDate();"/>By User ID</td>
function enableDate(){
document.eSupportTrackingReportForm.beginDate.disabled="false";
}
I tried this too:
document.eSupportTrackingReportForm.beginDate.enabled="true";
and
document.eSupportTrackingReportForm.endDate.enabled
Please help me out!!
Thanks
Subha