423,485 Members | 1,664 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,485 IT Pros & Developers. It's quick & easy.

Problem about frame(jsp)

P: 1
I have two frames in Folderstructure.jsp
<HTML>
<FRAMESET COLS="30%,*">
<FRAME name="frame1" src="/AnADD-WebModule/StrategyReference1.do" />
<FRAME name="frame2" src="/AnADD-WebModule/jsp/Strategy/frame2.jsp"/>
</FRAMESET>
</HTML>
in frame2, there is a form
<form>
<input name="desc" type="text"></input>
<input name="edit" type="button">edit</input>
</form>
in frame1, when something is clicked, I use a function to change the text in frame2.
parent.frame2.document.all.desc.value =desc

but a new frame is created with desc, the parent has 3 frames now!!
Who can tell me why?
Thanks a lot.....
Jan 7 '07 #1
Share this Question
Share on Google+
1 Reply


b1randon
Expert 100+
P: 171
I have two frames in Folderstructure.jsp
<HTML>
<FRAMESET COLS="30%,*">
<FRAME name="frame1" src="/AnADD-WebModule/StrategyReference1.do" />
<FRAME name="frame2" src="/AnADD-WebModule/jsp/Strategy/frame2.jsp"/>
</FRAMESET>
</HTML>
in frame2, there is a form
<form>
<input name="desc" type="text"></input>
<input name="edit" type="button">edit</input>
</form>
in frame1, when something is clicked, I use a function to change the text in frame2.
parent.frame2.document.all.desc.value =desc

but a new frame is created with desc, the parent has 3 frames now!!
Who can tell me why?
Thanks a lot.....
Post your javascript so that someone can find your problem.
Jan 8 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.