D
Don Li
Hi,
The blank.html reads:
<html><body bgcolor="#FFFFFF"></body></html>
// function
var str = new String();
str.replace('<html><body bgcolor="#FFFFFF"></body></
html>','<html><head><title></title></head><body
bgcolor=##FFFFFF><p>Hello 1</p></body></html>');
document.location = 'blank.html';
Thanks.
P.S.
If I use a new Object instead of String, but then we don't have the
{replace} method.
The blank.html reads:
<html><body bgcolor="#FFFFFF"></body></html>
// function
var str = new String();
str.replace('<html><body bgcolor="#FFFFFF"></body></
html>','<html><head><title></title></head><body
bgcolor=##FFFFFF><p>Hello 1</p></body></html>');
document.location = 'blank.html';
Thanks.
P.S.
If I use a new Object instead of String, but then we don't have the
{replace} method.