|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Change The Values in a Form
Alright, I know how to change a value in a form on a document through javascript, but how do I change the value of a field in a form through a frame with javascript. I have to make a reference to the frame somewhere, right? Well, the frame with the field I want to change is named "Frame1", and the form on there is "Form1" and the field I wish to change is called "url".
Like this: +---------------------------+ | | | [Text Box Here] | <- Frame1 +---------------------------+ | | | (JavaScript Here) | <- Frame2 +---------------------------+ I'm not sure how to change it from one frame to the other. Any help would be really REALLY appreciated. |
|
#2
|
|||
|
|||
|
RE: Change The Values in a Form
I think parent.Frame1.document will get you Frame1's document object.. You know the rest
|
|
#3
|
|||
|
|||
|
RE: Change The Values in a Form
Thanks a lot!
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Change The Values in a Form |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|