473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem about frame(jsp)

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
1 1569
b1randon
171 Expert 100+
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

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

Similar topics

3
by: Jose Munoz | last post by:
Hi all, I want to share some data for all my applications (servlets and jsps). For this i am using a JSP to set the variables with scope=application. When i get this data from some JSP all is o.k,...
2
by: Java_Forum | last post by:
hi, here is my main html file INDEX.JSP ------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META name="GENERATOR" content="IBM WebSphere Studio">...
2
by: dsimonneau | last post by:
Hello all, I would like to call a JSP from a Javascript and get a result on my javascript To call the JSP I'm doing like that : <SCRIPT LANGUAGE="Javascript1.1"> function test() {
13
by: Kai Grossjohann | last post by:
I have a web app which comprises different frames: a menu bar frame, a search form frame, a result list frame. Depending on the state, only a subset of these frames is available. (Eg, after...
3
by: Lans Redmond | last post by:
I have an iframe within a jsp page which displays rows from a database. I then have a checkbox where, when I check/uncheck the checkbox it performs operations on the rows listed in the frame. I...
1
by: vasavi | last post by:
Hi all, My requirement is... Iam using jsp frames.In main.jsp, iframe is there.In that iframe , another jsp named frame.jsp is being called.In frame.jsp, one button is there which opens another...
0
by: panku007 | last post by:
Hi all, I have one jsp page in that page three frames are created and one of three frame, one jsp page is displaying and from that page i want to send request to servlet from one frame...
0
by: akaley | last post by:
Hi to all, iam written two frames as part of JSP. But the lower portion of frame overlapped the above frane..Please check my code and let me know if any thing wrong. userinfosep.jsp...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.