Hello,
I believe this is a very easy task but I can't seem to make it work. I have a hidden value in my html page and I just want to display it:
<form name="parm" ......
<input type="hidden" name="state" value="MT">
I am trying to use alert to view the value : MT
I have used many versions but to no use, the latest being:
alert(form.elements["geoinfo"].value);
How do I display a specific hidden value?
Thanks in advance.
I believe this is a very easy task but I can't seem to make it work. I have a hidden value in my html page and I just want to display it:
<form name="parm" ......
<input type="hidden" name="state" value="MT">
I am trying to use alert to view the value : MT
I have used many versions but to no use, the latest being:
alert(form.elements["geoinfo"].value);
How do I display a specific hidden value?
Thanks in advance.