Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using javascript and DOM on a layer - HELP!!!

Status
Not open for further replies.

BigPerm

Programmer
Jul 24, 2002
7
US
I am trying to change the value of a hidden form field from a layer, but it keeps saying the object is null or doesn't exist. Is this even possible, please help my boss wants this soon! Here is part of my code for the layer...

<DIV STYLE=&quot;position:absolute; TOP:100px; LEFT:210px&quot; ID=&quot;apps&quot;><FORM method=&quot;get&quot; action=&quot;test_layers.htm&quot;><TABLE BORDER=&quot;0&quot; CELLPADDING=&quot;3&quot;><TD><label for=&quot;app1&quot;>App 1</label><input id=&quot;app1&quot; type=&quot;radio&quot; value=&quot;V1&quot; name=&quot;app&quot; onClick=&quot;myForm.myApp.value=\'AppNum1\'&quot;></TD></TABLE></FORM></DIV>

When I click the radio button is when I get the error(onclick event). This is just a test page but it is the general idea. myForm is the name of the form from the main page and myApp is the name of the hidden field. Thanks in advance if anyone has a clue on this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top