simonB2006
Programmer
k,
I have a Data Island.
Each record is displayed in table format, with 1 record taking up 2 rows.
Col1 Col2 Col3
Row1 R1 F1 R1 F2 Nested Sub-Table
Row2 R1 F3 R1 F4 ""
-----------
Row3 R2 F1 R2 F2 Nested Sub-Table
Row2 R2 F3 R2 F4 ""
---- etc etc
The nested table holds child-records where there may be many children to each main record.
I want the user to add new children to each main record.
My problem is in passing seomthing back to Javascript to represent the clicked node. i.e how to know which main record is in focus.
... what I am looking for is :
'the-XMLnode-responsible-for-this-HTML-element'
i have issues using rowIndex, and issues with passing back a unique reference number for each main record. What i really want is to pass the XML node object from the onclick, to my Javascript function
But all my attempts so far, return HTML DOM info, not XML.
Does that make sense ??
Many thanks
I have a Data Island.
Each record is displayed in table format, with 1 record taking up 2 rows.
Col1 Col2 Col3
Row1 R1 F1 R1 F2 Nested Sub-Table
Row2 R1 F3 R1 F4 ""
-----------
Row3 R2 F1 R2 F2 Nested Sub-Table
Row2 R2 F3 R2 F4 ""
---- etc etc
The nested table holds child-records where there may be many children to each main record.
I want the user to add new children to each main record.
My problem is in passing seomthing back to Javascript to represent the clicked node. i.e how to know which main record is in focus.
... what I am looking for is :
'the-XMLnode-responsible-for-this-HTML-element'
i have issues using rowIndex, and issues with passing back a unique reference number for each main record. What i really want is to pass the XML node object from the onclick, to my Javascript function
But all my attempts so far, return HTML DOM info, not XML.
Does that make sense ??
Many thanks