473,669 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with reloading a frame

Hello,

I have a frameset page with 4 frames. There is a form in frame[3] that
contains text input boxes. I have image buttons in some of the other frames
that invoke javascript functions within frame[3]. One of the functions
validates the data entered in the text boxes. Once the data is validated, I
change the webpage content of the page in frame[3]. I get rid of the text
input boxes by deleting the input elements and inserting text elements. It
still shows the data that was entered by the user, but it is information
only, the user cannot modify the data.

After some additional input from the user, I need the page in frame[3] to
reload the original content so additional data can be entered. I have been
able to refresh what appears in the frame window fine (by using the reload
method), but when my functions try to then access the window content, they
all seem to be referencing the modified old page, not the new content that
is in frame[3]. I know it must be some really simple that I am not doing.

Any help would be greatly appreciated.

kd dolezal
Jul 23 '05 #1
1 1277
I think reload is your culprit.

Are you using the IE DOM?

Jul 23 '05 #2

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

Similar topics

1
5935
by: Marcia Gulesian | last post by:
Is there a way of reloading a page programatically - for example, <script language="javascript> document.location.reload() </script> BUT NOT HAVING TO MANUALLY CLICK A "RESET" BUTTOM.
2
2156
by: Ike | last post by:
Suppose I have two frames, as shown in the script below. One of the frames, I would like to have reload every ten minutes or so. Hower, the frame I wish to reload is a php script, which executes and creates a png image which gets displayed directly to the browser frame (therefore, the image is NOT written to the server itself, and the page that gets displayed in the frame I wish to update is a png image mime type). How can I amend my...
3
19569
by: JWizardC | last post by:
I have a simple script that uses next and previous buttons to change the content of another frame in a frameset. Every time I load the target frame, the frame containing the script is also loaded, clearing out all my variables. I can work around this issue with cookies, but that seems far too clumsy to be real. What am I missing? TheFNG
3
12268
by: src_mag | last post by:
Hello, I'd like to write JavaScript code that refreshes a frame once a second loading a different image each time. Basically, here's what the script would do: 0 sec load img0.gif 1 sec load img1.gif 2 sec load img2.gif 3 sec load img0.gif (back to the first image) 4 sec load img1.gif
1
1436
by: Dynamo | last post by:
Hi My site uses frames and some of the frame pages are ranked higher in search engine rankings than the main page. When somebody clicks on the link it takes them to the frame page and they don't see my page as it should be viewed plus it displays a javascript error. I need a way using javascript so that when the link is clicked on in either yahoo or lycos that it loads the main frame html page (not the subframe html) and that the...
1
1681
by: purespam | last post by:
I have a index.htm page that loads a right frame and a main frame. In the right frame I have a menu(hvmenu). When I want to open a text file from my hd, I just click it in the menu. It opens in the main frame. But now the menu isn't working anymore. Apparently, you need a javascript command in the main frame, as in every page I want to open to make it work. With a txt file that seems rather hard. So, to work around this, I can just click...
1
8017
by: Mad Scientist Jr | last post by:
How do you get a ASP.NET page to return nothing, so the page posting form data to it doesn't reload? I have tried all combinations of the following: Response.SuppressContent = True Response.BufferOutput = True Response.Cache.SetNoStore()
0
1196
by: K B | last post by:
Hi, I could be approaching this all wrong...so please let me know what you think. I have a 2 page frame (WIleft.aspx and WIright.aspx) in asp.net 2.0. I create an html page by transforming xml with xsl file into WIright and there are buttons created with dynamic parameters to pass when the function is run. I have the following script that runs when any given button is clicked in WIright:
1
1651
nmm32
by: nmm32 | last post by:
I have this simple HTML page: <html> <head> <title></title> </head> <frameset cols="220,*" FRAMESPACING="0" BORDER="0" FRAMEBORDER="0"> <frame src="left.jsp" name="frame1" SCROLLING="auto"> <frame src="right.jsp" name="frame2" scrolling="auto" frameborder="1" border="2">
0
8383
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8895
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...
1
8588
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
8658
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...
0
7407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6210
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
4386
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2032
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1788
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.