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é
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top