Forgive my ignorance, I am new to JS and I am trying to learn how to allow an Object Property Name to be modified by using a variable, but I am unsure if this is a) possible; and b) what the correct way to do it would be.
Say you have:
document.form1.select1.value = 10;
What I want to be able...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.