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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -