javascript - Returning Value from HTML window -
I have a function that opens a pop up window:
function popup ( Url) {LeftPos = 0 topPos = 0 if (screen) {leftPos = (screen.width / 2) - 150 topPos = (screen.heit / 2) - 250} new window = window.open (url, 'name', 'Height = 300, width = 500, left =' + leftPos + ', top =' + topPos); If the user closes this window then I have to set this code on:
> Javascript: document .cotform.Submit ()
Does anyone give me a simple solution to return a bully with popups when my JS is able to fire. Any help is appreciated, today I'm having trouble with the brain, I know it must be easy.
You access the window which opens through the current so that you window.opener.document .quoteform.submit ()
from new window;
Comments
Post a Comment