Forum Moderators: open
I have an html table that displays the contents of a mysql table. Each row has a form with a unique id (form1, form2...) and in each form is the RecordID and a field called "Keep" which is represented by a checkbox. When the user hits the checkbox an updater function is called to update the databse.
Right now the parameters from the form are generated via the prototype serialize method (e.g. $('form1').serialize())
The problem is that each form has a different ID, so this code only works for the first form.
How do I get tell the updater which form to serialize when there are more than one form being dynamically generated?
Is there another way?