N
neelay1
Hi all,
I have a Javascript variable that contains the name of a form input-
input_name = "document.myform.ip"
How can I get the value of this form input, "ip" using the variable
input_name?
input_name.value returns undefined value and input_name + ".value"
returns the string document.myform.ip.value
Any help will be highly appreciated.
Thanks,
Neelay.
I have a Javascript variable that contains the name of a form input-
input_name = "document.myform.ip"
How can I get the value of this form input, "ip" using the variable
input_name?
input_name.value returns undefined value and input_name + ".value"
returns the string document.myform.ip.value
Any help will be highly appreciated.
Thanks,
Neelay.