> I don't understand why these two aren't identical:
> ex. 1:
> ` newP = document.createElement("p");
> ` newP.appendChild(document.createTextNode("hello, world!"));
> ex. 2:
> ` document.createElement("p").appendChild(document.createTextNode
> ("hello, world!"));

Both create a P element with a text node ("<p>hello, world!</p>"). 
However, that element is never appended to the document.

You might wanna read through some of the articles listed here:
http://dev.opera.com/articles/view/1-introduction-to-the-web-standards-cur/#toc


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to