Hello. I want to do the following. I want to write this
if (document.a0.box.checked==true)
but instead of writing .a0. i want to pass the value of a variable.
For example to have sth like temp='a0'; But if i write this
if (document.temp.box.checked==true), it doesn't work. Any suggestion?
if (document.a0.box.checked==true)
but instead of writing .a0. i want to pass the value of a variable.
For example to have sth like temp='a0'; But if i write this
if (document.temp.box.checked==true), it doesn't work. Any suggestion?