Deleting Repeating Table Row using JScript

M

Martyn Lawson

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...
 
F

Franck Dauché

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é
 
Top