How to transfer data from one page to a second page

S

Stefan Mueller

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
 
T

Thomas 'PointedEars' Lahn

Stefan said:
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
 
S

Stefan Mueller

Cookies or a wrapping frameset document. It's a FAQ, BTW.

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

Many thanks
Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top