I have opened a new window and now want to change something in the
newly opened window. I am doing this.......
<area
href="javascrip t:tour('newwind ow.htm','_blank ','scrollbars=y es,resizable=1, width=780,heigh t=550,top=0,lef t=0')"
onclick="javasc ript:setTimeout ('changenewone( )', 800)" shape="rect"
coords="9, 29, 44, 69">
<script type="text/javascript" src="id1.js">
function changenewone() {
window.location .newemail1.Hide Content('id1');
</script>
I have named the new window "newemail1. " I used a time delay hoping
that the new window would have time to open and then the attributes
could be accessed. I'm not targeting the new window correctly, I
suppose. What would be the correct way to do this? I am getting an
"object expected" error. Any help is appreciated.
newly opened window. I am doing this.......
<area
href="javascrip t:tour('newwind ow.htm','_blank ','scrollbars=y es,resizable=1, width=780,heigh t=550,top=0,lef t=0')"
onclick="javasc ript:setTimeout ('changenewone( )', 800)" shape="rect"
coords="9, 29, 44, 69">
<script type="text/javascript" src="id1.js">
function changenewone() {
window.location .newemail1.Hide Content('id1');
</script>
I have named the new window "newemail1. " I used a time delay hoping
that the new window would have time to open and then the attributes
could be accessed. I'm not targeting the new window correctly, I
suppose. What would be the correct way to do this? I am getting an
"object expected" error. Any help is appreciated.
Comment