Deleting Repeating Table Row using JScript

Deleting Repeating Table Row using JScript

Post by TWFydHluIE » Wed, 05 Oct 2005 20:05:11


Hi,

Can anyone tell me how to remove a row from a repeating table using JScript.
I am trying to use .removeNode(true) but this is having no effect.

Any help will be greatly appreciated.

Cheers,
Martyn...
 
 
 

Deleting Repeating Table Row using JScript

Post by RnJhbmNrIE » Wed, 05 Oct 2005 22:35:48

Hi Martyn,

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.

Franck Dauch