473,385 Members | 2,162 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,385 software developers and data experts.

history.go() and reload

Hello,

I explain the situation, I have 3 pages A, B and C.

On the page A, I display some data, on this page there is an edit button.

When I push on the edit button, I call the page B, on this page, a form with
the data to edit.

When I submit the form I call the page C to update the data in the database.

That it's ok.

After the update, I'd like to go back to page A, to do that, I do an
history.go(-2). That's work but I see the old data, it's normal because I
use the IE cache. The location I want to go is good (history.go(-2)) but I
need to reload the data to see the change.

Is there a javascript way to reload this page ?

Thanks,

C.
Jul 23 '05 #1
2 3273
"Christian Ista" <ml@cista.be> wrote in message
news:40*********************@read.news.be.uu.net.. .
Hello,

I explain the situation, I have 3 pages A, B and C.

On the page A, I display some data, on this page there is an edit button.

When I push on the edit button, I call the page B, on this page, a form with the data to edit.

When I submit the form I call the page C to update the data in the database.
That it's ok.

After the update, I'd like to go back to page A, to do that, I do an
history.go(-2). That's work but I see the old data, it's normal because I
use the IE cache. The location I want to go is good (history.go(-2)) but I
need to reload the data to see the change.

Is there a javascript way to reload this page ?

Thanks,

C.


On page C...don't use history.go(-2)...try calling page A again with
something like location.href="pageA.html"

HTH
-Bruce Duncan
Jul 23 '05 #2
On page C...don't use history.go(-2)...try calling page A again with
something like location.href="pageA.html"


Yes of course but I call B and C from A and sometimes from other page.

C.
Jul 23 '05 #3

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

Similar topics

3
by: MAL | last post by:
Hi I need to Replace the current entry in the History list with a new randomly genrated URL BEFORE following the link being clicked. I want to use the onclick property, replace the current...
8
by: Ed Jay | last post by:
I want to use history.go() to navigate between my previously loaded pages. I'm looking for a way to trigger a function call when a page is accessed using history.go(). Is there an event generated?...
5
by: namemattersnot | last post by:
I have a SAJAX login authentication script that, if the the correct password is provided, returns "history.go(0)" to the page and I then use "eval()" on the returned data to refresh it. If the...
3
by: pentisia | last post by:
Hi there, We are using history.go(integer) to go back to the certain page directly. Because there are some pages interaction in between. For example, starting from page 1 to page 2. From page...
2
by: sujith.bolar | last post by:
Hello I am using a <form method="post"to submit values to the processing agent. If the processing agent returns an error, I call the history.go(-1) or history.back() function to reload the page....
6
by: Raffi | last post by:
Hi, My web page has an iframe with a list of items from a database. These items are html links and when clicked they execute a server side script to update the database and reload the iframe...
12
by: jim.richardson | last post by:
Hi all, I'd like a page to be excluded from the back button history, that is, when a user hits their browser's back button, it never backs into this particular page. Can anybody please tell...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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.