Eric Pascarello wrote:Exactly what I said, disabled does not have a value [attributes].
Eric
Hey Eric,
Thanks for your help. I tried setting disabled to false. But it is still not working.
I think there is some problem with this line : var DD2 = document.getElementsByProperty("POTX"); alert(DD2);
because i am not getting alert message for DD2.
Since i am using struts tag, i cannot use ID attribute with <html:select>. I have to use property attribute <html:select property="" >.
So what do i do now. javascript:emoticon('

');
function DisableTR(value)
{
alert("hi");
alert(value);
var DD2 = document.getElementsByProperty("POTX");
alert(DD2);
if(value == "No")
{
DD2.disabled = false;
}
}
Thanks