I have a table with 2 columns: Vendor Name(display only), Transactions(checkboxes). The amount of checkboxes and their values vary depending on who the vendor is.
For example:
Vendor A name=checkbox value X
name=checkbox value Y
Vendor B name=checkbox value X
name=checkbox value Y
name=checkbox value Z
What i need to do when the NEXT button is clicked from that page is update my database according to the checkboxes selected. The problem is that the value in 'checkbox' is a comma-delimited list of all the ones checked, regardless of which vendor it is. So i would get X,X,Z...How do I know what vendor it goes for?? How can I read the value in the checkboxes correctly?
I am using ASP and Javascript.
Thanks.
For example:
Vendor A name=checkbox value X
name=checkbox value Y
Vendor B name=checkbox value X
name=checkbox value Y
name=checkbox value Z
What i need to do when the NEXT button is clicked from that page is update my database according to the checkboxes selected. The problem is that the value in 'checkbox' is a comma-delimited list of all the ones checked, regardless of which vendor it is. So i would get X,X,Z...How do I know what vendor it goes for?? How can I read the value in the checkboxes correctly?
I am using ASP and Javascript.
Thanks.