On Fri, 2006-01-20 at 12:04 +0100, Enrique Medina wrote: > Simon, > > The problem is that I don't know how many rows I will have, as it > depens on the data the user enters in the normal use of the > application. > > And I need to manipulate the value of the input object using > Javascript, but the value itself must be indicated in code the way you > told me in your previous email. See what I mean?
So you have some component (eg a button) that when clicked needs to perform some operation on each row of column N in a table? Then how about having each of your (custom) components in a table emit script like: <script> register_name_field('client-id-goes-here'); </script> You provide a javascript function register_name_field that adds the parameter to a list variable in the page. Result: as the html page is processed, each such component adds its id to a list that can be accessed later. Regards, Simon