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
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