| Author |
How to access objects of formelements from other files?
|
Naren Chivukula
Ranch Hand
Joined: Feb 03, 2004
Posts: 541
|
|
Hi, I'd like to get the objects of the forms elements from other Html files into my current Html file. The other Html files are included in the current Html file insided the frame. i,e.. inside <iframe>..</iframe>. Thanks and regards, Narendranath.
|
Cheers,
Naren (SCJP, SCDJWS and SCWCD)
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
|
|
First off, you can only do it if they are on the same domain! Second: You are going to need hidden form fields in the main form, then you need to fill them in by using: document.FormName.ElementName.value = parent.FrameName.document.FormName.ElementName.value; Eric
|
 |
Naren Chivukula
Ranch Hand
Joined: Feb 03, 2004
Posts: 541
|
|
Thank You for your kind reply. Regards, Narendranath.
|
 |
 |
|
|
subject: How to access objects of formelements from other files?
|
|
|