473,289 Members | 1,875 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,289 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 1545
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: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

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.