Checkboxes Over Multiple Pages
Posted: Fri Nov 17, 2006 4:08 am
Hi Guys,
Any ideas on how to solve this problem?
I have a web page displaying database values in a table, using pagination, I display the result over several pages. Which works fine.
I have a "display on web " checkbox in each row which allows the user to check or uncheck. The user presses an update button at the bottom of the page which updates the database value.
My problem is, if the user ticks a few boxes on different pages, THEN presses the update button, it only updates the values on the current page. I think this happens because each time the user changes page, the checkbox array is re-initialised.
Any ideas of how to get around this? Is there away of finding out that a checkbox value has been changed and putting into some sort of global array?
Thank you for your time
Any ideas on how to solve this problem?
I have a web page displaying database values in a table, using pagination, I display the result over several pages. Which works fine.
I have a "display on web " checkbox in each row which allows the user to check or uncheck. The user presses an update button at the bottom of the page which updates the database value.
My problem is, if the user ticks a few boxes on different pages, THEN presses the update button, it only updates the values on the current page. I think this happens because each time the user changes page, the checkbox array is re-initialised.
Any ideas of how to get around this? Is there away of finding out that a checkbox value has been changed and putting into some sort of global array?
Thank you for your time