473,388 Members | 1,390 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,388 software developers and data experts.

How to transfer data from one page to a second page

I've a HTML page where you can add a lot of data to a dynamic table created
with JavaScripts. At the moment this data is stored in a two dimensional
array (JavaScript). But how can I transfer this data to a second page?
Of course I could move this data to hidden text fields (HTML). However I
don't know if that makes sense.

Today I do:

<form name = "MyForm" action = "nextpage.html" method = "post"
accept-charset = "iso-8859-1">
...
<input type = "button" name = "MyButton" onClick =
"SubmitForm(document.MyForm)" value = "Next Page">
...

<script type = "text/javascript">
function SubmitForm(object) {
eval(object.submit())
}
</script>

Is there a way to transfer the data from one page to a second page without
sending the data to the server first? I'd like to transfer the data just on
the client.
Stefan
Nov 1 '05 #1
2 1800
Stefan Mueller wrote:
Is there a way to transfer the data from one page to a
second page without sending the data to the server first?


Cookies or a wrapping frameset document. It's a FAQ, BTW.
PointedEars
Nov 1 '05 #2
> Cookies or a wrapping frameset document. It's a FAQ, BTW.

Frameset document was a great hint. It's working perfect.

Many thanks
Stefan
Nov 8 '05 #3

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

Similar topics

0
by: Andrew | last post by:
Can someone out there help. I am using Server. Transfer from a user control to a webform and tried to follow many examples exactly as specified but cannot get around the (Specified cast is not...
11
by: Alexander Bosch | last post by:
Hi, I'm having a problem similar to the one that's stated in this KB http://support.microsoft.com/default.aspx?scid=kb;en-us;839521 When I'm posting a page to itself with the bool value as true it...
2
by: dee | last post by:
Hi I'm posting back to a second page using Server.Transfer(). There are buttons on this second page that use Respose.Redirect() since some of the pages are html's and the Transfer function cant...
0
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, Our asp programs seem to have different behaviors when users use IE and firefox. One of most annoying things is the data disappearing problem in IE but not in firefox.(Note: Sometimes a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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:
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
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,...
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...
0
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...

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.