Hi
In my ASP application I had created a xml document dynamically using ADO/SQL Server ... etc (on server side).
With that xml document I will create an HTML table on client side. The xml document will give me the name of the rows of the table. However, each row will have two addictional columns, each of them with a radio button (created dynamically, so the ID´s of each radio button will be dinamically too).
Because I don´t know how mutch rows my HTML table will have, I´m not able to know how mutch radio buttons I will have, too.
For instance, I could have this:
row1 rbutton11 rbutton12
row2 rbutton21 rbutton22
or, for instance, this:
row1 rbutton11 rbutton12
If the user clicks in the radionbutton I will have one value, if the radiobutton is not clicked I will have another value.
What I want is too attach all this rbuttons values to my xmlDocument so I can than send it transformed to the server (and make some alterations to my database).
I know how to do all of this in XML, however I don´t know how can I control how mutch rows I will have in my table and this way, how mutch rbuttons I will have too.
What I need is something like this:
For first HTML row where rbutton ID like '1*'
make my xml
next
Got it?Is this possible? Notice that, despite all my rbuttons are identyfied by ID, I cannot make many use of them because I dont know how mutch of them I will have. All the table will be created dynamically.
Thank you for your help.
Sergio Oliveira
In my ASP application I had created a xml document dynamically using ADO/SQL Server ... etc (on server side).
With that xml document I will create an HTML table on client side. The xml document will give me the name of the rows of the table. However, each row will have two addictional columns, each of them with a radio button (created dynamically, so the ID´s of each radio button will be dinamically too).
Because I don´t know how mutch rows my HTML table will have, I´m not able to know how mutch radio buttons I will have, too.
For instance, I could have this:
row1 rbutton11 rbutton12
row2 rbutton21 rbutton22
or, for instance, this:
row1 rbutton11 rbutton12
If the user clicks in the radionbutton I will have one value, if the radiobutton is not clicked I will have another value.
What I want is too attach all this rbuttons values to my xmlDocument so I can than send it transformed to the server (and make some alterations to my database).
I know how to do all of this in XML, however I don´t know how can I control how mutch rows I will have in my table and this way, how mutch rbuttons I will have too.
What I need is something like this:
For first HTML row where rbutton ID like '1*'
make my xml
next
Got it?Is this possible? Notice that, despite all my rbuttons are identyfied by ID, I cannot make many use of them because I dont know how mutch of them I will have. All the table will be created dynamically.
Thank you for your help.
Sergio Oliveira