hi
On 11/28/06, Lee Bettridge <[EMAIL PROTECTED]> wrote:
> Is there a way to assign text to a div as html without using innerHTML ?
> Or is there some other way of putting line breaks into the text ?
i think you want something like this:
element.appendChild( document.createTextNode( str ) );
but
I think this may be more of a DOM question than css but it's closely
related to css so here goes :-
Is there a way to assign text to a div as html without using innerHTML ?
Or is there some other way of putting line breaks into the text ?
element = document.getElementById("myDiv");
var temp1 = "