GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Java script to change form fields in frame (https://gfy.com/showthread.php?t=55799)

747-th 04-05-2002 12:09 AM

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

747-th 04-05-2002 01:34 AM

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