473,657 Members | 2,479 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript - Dynamic frames & persistent data

Hi,

I have a HTML page consisting of two frames, one visible and one
hidden. The hidden frame contains javascript variables holding session
information. The visible frame contains interactive content.

From the visible frame I open a new window. This new window is created
using javascript. The new window consists of two frames, both visible.
During the creation of the new window a form is generated within one
of the frames and submitted to a custom server during the page onload
method.

The server returns a page to the new window within the specific frame.
The page returned contains a URL and numeric value which I need to
pass back to the hidden frame on the original HTML page. This is where
my problems lie.

Once the dynamic page has been returned from the server into the new
window frame I am unable to access any information within the new
window itself or the original HTML page that opened the new window.

Does anyone have any ideas on how I can do this?

I have access to the original window from the new window, but when a
page is returned from the server into one of the new windows frames I
unable to access any information within it.

I am using IE4 and IE6.

Thanks,

G
Jul 23 '05 #1
1 2108
Firstly I would assume all URL is under same domain, otherwise you need HTA
instead of HTM.

As in the new window, you may run your script via the top window which will
keep the connection with the opener.
(You have 3 files in the new window, 1 is the top frame defination file and
2 are the frame files. Or if you use iframe you need only 2 files. You need
only submit one of the frame or the iframe, not the top one)

Basicly I think, if you access the opener window from the one which remains
(during the submit process), you will not get problems.

Hope this would somehow help.

ccton

--
www.vicdir.com
"GEvans" <ev*********@ho tmail.com> ????
news:3c******** *************** **@posting.goog le.com...
Hi,

I have a HTML page consisting of two frames, one visible and one
hidden. The hidden frame contains javascript variables holding session
information. The visible frame contains interactive content.

From the visible frame I open a new window. This new window is created
using javascript. The new window consists of two frames, both visible.
During the creation of the new window a form is generated within one
of the frames and submitted to a custom server during the page onload
method.

The server returns a page to the new window within the specific frame.
The page returned contains a URL and numeric value which I need to
pass back to the hidden frame on the original HTML page. This is where
my problems lie.

Once the dynamic page has been returned from the server into the new
window frame I am unable to access any information within the new
window itself or the original HTML page that opened the new window.

Does anyone have any ideas on how I can do this?

I have access to the original window from the new window, but when a
page is returned from the server into one of the new windows frames I
unable to access any information within it.

I am using IE4 and IE6.

Thanks,

G

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2035
by: LagWagon | last post by:
hi, I have a page whith frames where y load other pages in. If these other pages are in my computer y can read/write with javascritp in their properties like name, location, href etc. but when y have loaded in a frame a page that is not in my computer y can`t use these properties. I know that the page is not accessible using javascript from my page, but the frame is a frame of my page. I don`t understand it. why? Can´t I load another...
3
1561
by: pentium77 | last post by:
Basically I have a situation where I need to update changes occuring in one Text field of a table into another text field located in another table. In addition both the tables are located in different frames of a HTML page. So my question is can such an update be done ? Is it necessary that the tables be located in the same frame for the update to work ? Any pointers would be appreciated ? Thanks, -P.
4
3217
by: johkar | last post by:
When the output method is set to xml, even though I have CDATA around my JavaScript, the operaters of && and < are converted to XML character entities which causes errors in my JavaScript. I know that I could externalize my JavaScript, but that will not be practical throughout this application. Is there any way to get around this issue? Xalan processor. Stripped down stylesheet below along with XHTML output. <?xml version='1.0'?>...
3
10405
by: dricks dr | last post by:
Hi, I'm using the AxWebBrowser Control from microsoft in a C# application. It works fine, but i have many problems to hide the javascript error windows that appear when u visit a website with... javascript errors :) I can catch errors coming from website that does not use frames using : private void NavigateComplete(object sender,AxSHDocVw.DWebBrowserEvents2_NavigateComplete2Event e) {
2
2099
by: Arun | last post by:
I am new to ASP.NET I need some help for this scenario The scenario is like this I have a template Page which loads a WebUserControl (uct1.ascx) inside a PlaceHolder (PH1) Now this Web User Control (uct1.ascx) has a table with 2 rows First row has a 5 text boxes 2 Combobox and 6 buttons (all Server Controls)
3
3347
by: jimmygoogle | last post by:
I posted earlier with a scope problem. I think I resolved it in IE but in Firefox it still exists. Anyone have any ideas/experience with this? I attached my code sorry it is so long. You can cut/paste it into 2 files and run it to see what I mean. ###############menu.html############### <html> <body> <script type="text/javascript">
6
4817
by: Chetan Patil | last post by:
I would like to obfuscate and compress (remove comments, newlines etc) my javascript files / ajax code. Is there a module that will do this on the fly with some level of caching? Does such a beast exist? thx Gupit
11
16930
by: Rob | last post by:
I know, I know, don't use frames. Well, I'm stuck with these frames and I'm trying to add functionality without a complete redsign. You can look at this as a nostalgic journey. Anyway, I've got the following frame structure at the top level: FRAMESET CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> <html><head><title>Server List</title></head> <frameset frameborder="1" border="1" framespacing="1" rows="10%,89%">
3
4371
by: Raffi | last post by:
Hello, I've been struggling and trying to work around this for a while and have even posted on usenet in the past without any working solutions. I'm posting it again in case someone out there has a solution. I'm working on a web application with an i-frame in the main application window. Inside the i-frame are various dynamic links for opening data entry popups. One of these popups has a couple of i- frames itself. These i-frames also...
0
8844
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8742
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8518
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8621
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1734
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.