kasippu 0 Newbie Poster

i want to submit values from one web page to another web page , using javascript

this is a shopping cart program,

a user selects items he/she wishes by checking the checkboxes provided.

then all these should go on to a shopping cart which is in another page.

and my web page consist of several pages, where the user can select alot of products from each page.

but what happence is that when i checked on the checkbox the product's are been displayed in the same page, therefore i added this code

<code>

<FORM NAME="testform" ACTION="pl.html" target="_blank" method="post">
// the list of products followed by checkboxes to select them
<input type="button" value="hi" onClick="document.testform.submit();testButton(this.form)"/>

</code>

1.) testbutton - (what happence here)

i have stored all information in an array so , we can display the information by calling the array

** the problem here is the information is getting displayed in the same page (the page gets refreshed) , and the page pl.html opens with no products displayed on it ..

** and since there are a lot of product pages, when i select products from the 1st page and then go to the other page the products which i first selected (from the previous pages), gets replased by the products i chose from another page..

please provide an answer..

i hope i made my self clear here.... :(