|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Registered User
Join Date: Mar 2002
Posts: 45
|
Java script to change form fields in frame
Hi 4 all
Help, plz When I want change text field in form I use this Java script construction: ------------------------------------------------------------------------- document.myForm1.myText1.value ="This is new text"; ------------------------------------------------------------------------- it's ok on same window so how to change text field in form which locate in other frame? I think it must begin like this: ... win1 = window.open('xxx.htm','MainFrame'); what's next???? - win1.myForm1.myText1.value ="This is text"; - window.win1.myForm1.myText1.value ="This is text"; - document.win1.myForm1.myText1.value ="This is text"; ???? if yes - help |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 2002
Posts: 45
|
well
If u r such bad programmer I ask myself: it must be : parent.main.document.MyForm1.MyText1.value ="New text"; |
|
|
|