I need help getting the value from a text box when the name of the text box is in a variable.
So normally, you can simply go:
myval = document.form.textbox.value;
But what I have is:
BoxName = "document.form.textbox.value";
So how do I get the value from the text box using the name that's stored in the variable 'BoxName'?
Thanks!
So normally, you can simply go:
myval = document.form.textbox.value;
But what I have is:
BoxName = "document.form.textbox.value";
So how do I get the value from the text box using the name that's stored in the variable 'BoxName'?
Thanks!