Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can I get the value of a form input whose name is in a Javascript variable?

0 views
Skip to first unread message

Neelay

unread,
Jun 7, 2006, 8:29:05 PM6/7/06
to perl-ja...@perl.org, perl-ja...@moderators.isc.org
Hi all,
I have a Javascript variable, containing the name of an input-
input_name = "document.myform.ip"
How can I get the value of the input "ip" using the variable input_name
in Javascript?
Any help will be highly appreciated.

Thanks,
Neelay.

0 new messages