Tech Support Guy banner
Status
Not open for further replies.
1 - 2 of 2 Posts

·
Registered
Joined
·
510 Posts
Discussion Starter · #1 ·
Hey,

I'm developing a page that has more than one form on it, and I need to dynamically reference a form through JavaScript in order to add more elements to the form, but I can't seem to get it to work. Can someone give me a hand?
HTML:
[CENTER]

[TABLE][TR][TD]

[/TD][/TR][/TABLE]

[TABLE][TR][TD]

[/TD][/TR][/TABLE]
Initially, the JS code used "this.form", which stopped working after I added a second form. I googled it, and found that "document.forms" was supposed to work, and that's what I have now and it's not working. Any gurus out there?

Thanks,
asbo
 

·
Registered
Joined
·
510 Posts
Discussion Starter · #2 ·
Also: I tried giving each form an ID tag (HeaderForm and LinksForm) and then referencing them using "document.getElementByID('[ID]')" to no further success.

This is getting rather frusterating :/
 
1 - 2 of 2 Posts
Status
Not open for further replies.
Top