[thelist] Implementing innerText concept in Netscape Navigator?

Peter-Paul Koch gassinaumasis at hotmail.com
Sat Jan 6 06:02:13 CST 2001


>How would you (if possible) implement the innerText concept in Netscape
>Navigator?

In NN6 it works, in NN4 you'd have to create a layer (= a DIV with a 
position in the style sheet) and then write the HTML into it:

var x = document.layers['thelayer'];
x.document.open();
x.document.write('<P>Hello, here's a P</P>');
x.document.close();

See also http://www.xs4all.nl/~ppk/js/index.html?layerwrite.html

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the thelist mailing list