Removing a Repeating Table Row

C

craigs714

I need to write some Javascript code that will delete a row from a
repeating
table. When the item in the table is chosen I will use the data in the
bound
field to iterate through the table looking for a match. After it is
found I
would like to delete that row. I do not want to use the out of the box
remove
functionality.

Thanks in advance.
 
S

suresh Reddy

Hi craigs,

Have you tried removeChild(node)?

If in one on the built-in event handler or button click:
var node = eventObj.Source;
node.parentNode.removeChild(node);

Hope that it helps.

Thank u
 
Top