Hi,
I have a repeating table with a handful of columns. I would like to empty
the table using a button press in JScript. Is this possible?
I have seen blogs talking about using eventObj.Source but since i am using a
button press, the source has no relation to the table.
Any ideas would be greatly appreciated.
Cheers,
Martyn...
Franck Dauché - 10 Nov 2005 17:04 GMT
Hi Martyn,
What about:
var node = XDocument.DOM.selectSingleNode(
"my:myFields/my:group1/my:group2[my:id = 2]" );
node.parentNode.removeChild( node );
To remove 1 specific node, and:
var allnodes = XDocument.DOM.selectNodes( "/my:myFields/my:group1/my:group2"
);
allnodes.removeAll();
Hope that it helps.
Regards,
Franck Dauché
> Hi,
>
[quoted text clipped - 8 lines]
> Cheers,
> Martyn...