I have a requirement like this
Number of Rows generated in a table dependant on dynamically by user
In one scenario one TR will be there, some time 4 TRs or some time 8 TRs..
Maximum 10 TRs can be there and each TRs will have 6 Tds
Each TD will contain the Drop down items or radio buttons,
Selection of each of item in the TD will trigger
whether the next TD in that same row(TRs) is displayed or not.
TO implement the Above I am using the Div tags and with it, I am Hidding it or making it visible
The challenge I am facing
1) I am not able to create the Unique id for all the TD’s in all the 10 TR’s
because of which, if i hide one Class Id of one TD in 2nd TR, then it also
hide the corresponding 2nd TDs in the next sequential TR’s.
This is because of the Class Id I am genarating it programmatically in a FOR loop.
Can you please suggest me how I can proceed to implement this requirement???
2) Can we give the Id for the TD at run time??
The outline below is a very rudimentary element creation program. It will operate to create the HTML document based on certain user data. http://jsfiddle.net/3rvDk/