Details: One application is on remote server. There are two frames in my page,leftFrame and mainFrame. In leftFrame,the page is mine,eg.http://202.11.1.1/left.aspx In mainFrame,the page is on remote server,eg.http://166.12.1.1/main.aspx I want to use scrips
to modify the value of one textbox in the main.aspx in left.aspx.
try to use "parent" parent.framename.attributes_to_change Replacing framename with the name you gave the frame in your frameset ex: *- frameset page *- left.htm page <form> <input type="button" value="Ok" onClick="parent.main_frame.document.getElementById("text1").value='imSeth'">
</form> *- main.htm page <form name="form1"> <input type="text" name="text1" size="25" value=""> </form>
SnotFroth
Member
35 Points
7 Posts
To modify the textbox's value of another web application,how to do?
Sep 17, 2003 11:48 PM|LINK
│べ閉上眼睛我以爲我可以忘記ゃ│
│じ流下的眼淚卻欺騙不了自己ゑ│
愛╚────────────ほ─╝妳
I'mSeth
Member
5 Points
1 Post
Re: To modify the textbox's value of another web application,how to do?
Sep 18, 2003 01:44 AM|LINK
SnotFroth
Member
35 Points
7 Posts
Re: To modify the textbox's value of another web application,how to do?
Sep 18, 2003 05:47 AM|LINK
│べ閉上眼睛我以爲我可以忘記ゃ│
│じ流下的眼淚卻欺騙不了自己ゑ│
愛╚────────────ほ─╝妳