![]() |
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"; ???? :) anybody understood what I want? if yes - help |
well
If u r such bad programmer I ask myself: it must be : parent.main.document.MyForm1.MyText1.value ="New text"; |
| All times are GMT -7. The time now is 02:19 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123