R
RWC
Hello,
I am new to JavaScript but until now, have felt my way along fairly
successfully. I have a page showing an image to the user. I use
window.open to open a separate page, listing a bunch of different images
that the user can select. When the user clicks "Submit", I'd like the image
selection page to close and update the image on the originating page.
To "play around" with this command until I can use it successfully, I wrote
the following;
function Button1_onclick() {
window.opener.document.bgcolor='bisque'
window.opener.location.reload()
window.close()
}
The line for changing the back ground color to bisque I pulled from the
netscape site javascript reference for Window.Opener.
Any help on this would be greatly appreciated.
Thanks in Advance!
Rick
I am new to JavaScript but until now, have felt my way along fairly
successfully. I have a page showing an image to the user. I use
window.open to open a separate page, listing a bunch of different images
that the user can select. When the user clicks "Submit", I'd like the image
selection page to close and update the image on the originating page.
To "play around" with this command until I can use it successfully, I wrote
the following;
function Button1_onclick() {
window.opener.document.bgcolor='bisque'
window.opener.location.reload()
window.close()
}
The line for changing the back ground color to bisque I pulled from the
netscape site javascript reference for Window.Opener.
Any help on this would be greatly appreciated.
Thanks in Advance!
Rick