K
Kim Therkelsen
Hi!
By pressing a button I am directed from one page to another. At the second
page some things displayed on the first page are changed and now I want to
go back to the first page again. The pages are written in php.
If I use javascript:history.back() I get back to the first page but I have
to manually reload it to see the changes I have made.
The solution could be:
echo "<meta http-equiv=\"refresh\"
content=\"0;url=firstpage.php?op=view&id=$id&...&...&....\">";
But I have to do a lot of work to get all the options (e.g. op=view&...).
Is there anyway I can use javascript to go back to the first page and force
it to reload, so that I don't have to reload it my self?
Or is there some way I can read out what is in javascript:history.back() so
that I could place it in the above mentioned solution? It doesn't seem to
work if I just do the following:
echo "<meta http-equiv=\"refresh\"
content=\"0;url=javascript:history.back()\">";
Sincerely
Kim Therkelsen, Denmark
By pressing a button I am directed from one page to another. At the second
page some things displayed on the first page are changed and now I want to
go back to the first page again. The pages are written in php.
If I use javascript:history.back() I get back to the first page but I have
to manually reload it to see the changes I have made.
The solution could be:
echo "<meta http-equiv=\"refresh\"
content=\"0;url=firstpage.php?op=view&id=$id&...&...&....\">";
But I have to do a lot of work to get all the options (e.g. op=view&...).
Is there anyway I can use javascript to go back to the first page and force
it to reload, so that I don't have to reload it my self?
Or is there some way I can read out what is in javascript:history.back() so
that I could place it in the above mentioned solution? It doesn't seem to
work if I just do the following:
echo "<meta http-equiv=\"refresh\"
content=\"0;url=javascript:history.back()\">";
Sincerely
Kim Therkelsen, Denmark