James
08-29-2002, 04:30 AM
Hi,
In Netscape4, we can simulate the IE innerHTML functionality
using:
document.open()
document.write("BLA")
document.close()
But that is only for writing. How about reading?
I need to get the content for the layer.
In IE, this is how it is done:
var thecontent = document.all.div1.innerHTML;
Now thecontent stores the content for div1.
How to do that in Netscape4?
Thanks a lot.
In Netscape4, we can simulate the IE innerHTML functionality
using:
document.open()
document.write("BLA")
document.close()
But that is only for writing. How about reading?
I need to get the content for the layer.
In IE, this is how it is done:
var thecontent = document.all.div1.innerHTML;
Now thecontent stores the content for div1.
How to do that in Netscape4?
Thanks a lot.