F
Fred
Hi,
i know how to pass a value from Javascript to ASP with a hidden field into a
form and submitting it, or with cookies, but here i have to pass a lot of
data in an array.
There is a list of product the visitor can order by clicking one or more
checkboxes. I made a form containing input with type "checkbox" like:
<form>
<input type="checkbox" name=ck id=ck
<input type="checkbox" name=ck id=ck
....
<input type="checkbox" name=ck id=ck
</form>
I made a function which detect the checked products and which put those
productnumbers into an array, suppose prod. That's ok.
But now, how can i pass that array to another ASP-page, where those
productnumber must be put into the database? It's not realistic to make a
lot of hidden fields, certainly because the amount vary each time.
Thanks for any hints
Fred
i know how to pass a value from Javascript to ASP with a hidden field into a
form and submitting it, or with cookies, but here i have to pass a lot of
data in an array.
There is a list of product the visitor can order by clicking one or more
checkboxes. I made a form containing input with type "checkbox" like:
<form>
<input type="checkbox" name=ck id=ck
<input type="checkbox" name=ck id=ck
....
<input type="checkbox" name=ck id=ck
</form>
I made a function which detect the checked products and which put those
productnumbers into an array, suppose prod. That's ok.
But now, how can i pass that array to another ASP-page, where those
productnumber must be put into the database? It's not realistic to make a
lot of hidden fields, certainly because the amount vary each time.
Thanks for any hints
Fred