Forum Moderators: open
The only examples I have been able to find refer to elements that already exist on the .html page.
What I am trying to do is dynamically update childrens children nodes into the dynamic result set that has already been appended to the body.
Hope there are some of you less confused then me at the moment, thanks in advance for the guidance.
John
[edited by: JohnCanyon at 6:35 am (utc) on Aug. 2, 2006]
The code i am playing around with looks like this.
var divContainer = document.createElement("div");
var divContent = document.createElement("div");
divContent.appendChild(document.createTextNode(SomeContent));
divContainer.appendChild(divContent);
oFragment.appendChild(divContainer);
document.body.appendChild(oFragment);
As you can see, this simply creates a div tag with no identifiable attributes for further update. Any further help is appreciated. I will continue to research this with fresh eyes.
Cheers,
John
[edited by: JohnCanyon at 2:37 pm (utc) on Aug. 2, 2006]