Hi!
i have a problem in firefox.I have a textbox with a laeb for it and a checkbox.i need to disable the textbox as well as label when checkbox is checked.it is working in IE but not in FF.plz check my code and tell me a solution
[CODE=html]<td id='abc' name="xyz">
Text
</td>
<Input type="text" readonly name="abc1" style="width:16 5px;" size = "20" >[/CODE]
in javascript my code is
[CODE=javascript]if(document.frm .self.checked== true)
{
document.ex.abc .disabled=true; (ex is the HTML form name)
}
else
{
document.ex.abc .disabled=true;
}[/CODE]
i have a problem in firefox.I have a textbox with a laeb for it and a checkbox.i need to disable the textbox as well as label when checkbox is checked.it is working in IE but not in FF.plz check my code and tell me a solution
[CODE=html]<td id='abc' name="xyz">
Text
</td>
<Input type="text" readonly name="abc1" style="width:16 5px;" size = "20" >[/CODE]
in javascript my code is
[CODE=javascript]if(document.frm .self.checked== true)
{
document.ex.abc .disabled=true; (ex is the HTML form name)
}
else
{
document.ex.abc .disabled=true;
}[/CODE]
Comment