Menu
Hello,
I need some help!
Is it possible to use a variable in lets say:
window.document.form.MyTextBox.value
For example I tried this way but it doesn’t work:
window.document.form.MyTextBox’+MyVariable+’.value
I need to do this for a validation template that contains some asp.
The asp complete the name of textbox with a code
Kind of like this:
window.document.form.MyTextBox3465234.value
window.document.form.MyTextBox7846894.value
window.document.form.MyTextBox1258457.value
And for my validation I have the values in variables but I don’t know how to use it.
So anyone knows a way?
Thanks