javascript_howto thread: disable all INPUT's except one
You can loop through the form and test for each one ;
for (i=0;i<document.myForm.elements;i++)
{
if (!document.myForm.elements[i].name=="LeaveThisOne")
{
document.myForm.elements[i].readonly=true;
}
}
At 19:26 30/01/03 +0330, you wrote:
>how could I make all of my INPUT's except one of them "read-only"?
>
>
>
|





