OZONE Asylum
Forums
DHTML/Javascript
Get the html code inside an xml tag
This page's ID:
30388
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Thanks a lot poi. The trick that we are using now is that we get the document element, use it to get hold of the CODE node. And then append all the childNodes of the CODE element to a temporary DIV; and later we just say: document.getElementById(<destid>).innerHTML = <tempdiv>.innerHTML; ankit
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »