HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
getting a frame content
Posted by: itsik saban (---.64.246.232.dynamic.barak-online.net)
Date: Saturday, 14-Oct-2006, 18:19:00

hi guys, i have the next structure of frames:

main page, frameset.htm:
-------------------------------
<html>
<frameset>
<frame src="frame1.htm"></frame>
<frame src="frame2.htm"></frame>
</frameset>
</html>



first frame, frame1.htm:
--------------------------------
<html>
<body>
<input type="text" id="txt" onchange="alert('dss');"/>
<input type="button" onclick="parentWindow.funci();" value="ddd"/>
</body>
</html>


second frame, frame2.htm:
--------------------------------
<html>
<body>
<table>
<tr>
<td>
aaaaa
</td>
<td>
bbbbb
</td>
<td>
ccc
</td>
</tr>
</table>
</body>
</html>


i would like to load the main page (frameset.htm) with MSHTML and set a new value in the text box that resides in the first frame (frame1.htm).

i will be very thankful if some one will show me how to do it.



Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
cxLGw
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.