And it makes me cry. Dont make the balck man cry! Discuss!!!! Here ill start:
with the transition to xhtml in full force are should we be abandaoning innerHTML and the like for DOM functions (createNode(), createTextNode(), appendChild(), etc.)???
I say yes. (And this may very well be a consensus within the professional community - i dunno) What say you!?!
with the transition to xhtml in full force are should we be abandaoning innerHTML and the like for DOM functions (createNode(), createTextNode(), appendChild(), etc.)???
I say yes. (And this may very well be a consensus within the professional community - i dunno) What say you!?!
-
Re: Not a whole lot of discussion here...
Tue, February 21, 2006 - 1:41 PMnope. innerHTML is, for most applications, far faster, and less of a pain in the ass to code to boot:
www.quirksmode.org/dom/innerhtml.html
-
Re: Not a whole lot of discussion here...
Tue, February 21, 2006 - 2:46 PM"Not a whole lot of discussion here..."
Sorry 'bout that. I was planning on adding some more code fragments, but I had to go to Germany for work for a couple of weeks. When I get back, I will upload more stuff.
Of course, if anyone else feels like uploading or linking to nifty stuff they did, that would be great!