>Is there a way to do something like this in JScript:
>
>var tmp = "myTextBox"
>aler(document.myform." + tmp + ".value")
>
>I'll try to explain it. I have a variable which hold the name of the text box that I need to use. How can I use the value property of that text box?
>
>Thanks.
Try using eval, like this:
var tmp = "myTextBox"
alert(eval("document.myform." + tmp + ".value"))
//note that you were missing a double quote before 'document.myform'
That will work for you.
Andres M. Chiriboga, MCSE, MCP+I