Assume: $ = document.getElementById; pre = $(‘pre-text-element’); //pre-text-element is the ID of my pre tag element You cannot use: $(‘element’).innerHTML = ‘line1\nline2′; //will not work in IE7 You must do this: e = $(‘element’); while(kid=e.firstChild) { e.removeChild(kid) } //remove all children in the e.appendChild(‘line1\nline2′); Lame, huh?
-
Recent Posts
-
Tags
100 Days 2010 Terratrike Contest ability based education adobe bread bugs cake components cpu hog crap css cycling design-time dhtml dreamweaver environment excel family firebug flash forum health hosting html jato javascript joomla linux party php plugin rc services signs skin software stylesheet tutorial ubuntu unzip upload wiki windows wireless wordpress -
Categories
-
Meta
