Thanks a lot Dormilich!
It works by using getElementsByTa gName.
:)
User Profile
Collapse
-
Thanks Dormilich for your quick reply!
I have written a code as follows:
...Code:strText = '<p>My First Line.<br /><span ignoreIn="true">Ignore in true.</span>My Second Line.<br /><span ignoreIn="false">Ignore <span ignoreIn="true">Ignore in true.</span>in false.</span>My Third Line.<br /><span ignoreIn="true">Ignore in true.</span>My
Leave a comment:
-
How to remove all XML nodes having specified attributes.
Hi All,
I want to remove all XML nodes having specified attributes.
my XML:
...Code:var strText='<p>My First Line.<br /><span ignoreIn="true">Ignore in true.</span>My Second Line.<br /><span ignoreIn="false">Ignore <span ignoreIn="true">Ignore in true.</span>in false.</span>My Third Line.<br /><span ignoreIn="true">Ignore
No activity results to display
Show More
Leave a comment: