I need to use the javascript loop variable i in the loop block.
for (i=0; i<=4; i++)
{
status=!status;
document.Form_Users.DefaultUser1_UserName.disabled = status;
document.Form_Users.DefaultUser1_Password.disabled = status;
}
what i need is :
document.Form_Users.DefaultUser{i}_UserName.disabled = status;
ie, I could substitute the value of i insted of 1.
I thank all of you in advance.