passing value from close event of window
-
Is it possible to send and recieve a parameter or value from a window opened from a parent window. I want to set a property to the control that opened up the new window when the new window is closed.
-
Is it possible to send and recieve a parameter or value from a window opened from a parent window. I want to set a property to the control that opened up the new window when the new window is closed.
tonymathewt wrote:
Is it possible to send and recieve a parameter or value from a window opened from a parent window.
Yes,by using javascript class Opener. Example for using Opener Class OpnerWindow
Regards, Sandeep Kumar.V
-
Is it possible to send and recieve a parameter or value from a window opened from a parent window. I want to set a property to the control that opened up the new window when the new window is closed.
Passing the value from parent window to the popup window
window.open("http://yourURL.com/yourpage.aspx?paras=allthingsthatyouwannapass")
Passing the value from the popup window to the parent window You can usewindow.opener
(eg.window.opener.document.stockForm.stockBox.value = symbol;
) Hope it helps.. As those are very popular questions, there are a lot of articles about this on the net..Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
-
Passing the value from parent window to the popup window
window.open("http://yourURL.com/yourpage.aspx?paras=allthingsthatyouwannapass")
Passing the value from the popup window to the parent window You can usewindow.opener
(eg.window.opener.document.stockForm.stockBox.value = symbol;
) Hope it helps.. As those are very popular questions, there are a lot of articles about this on the net..Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) "Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
Thank you
-
tonymathewt wrote:
Is it possible to send and recieve a parameter or value from a window opened from a parent window.
Yes,by using javascript class Opener. Example for using Opener Class OpnerWindow
Regards, Sandeep Kumar.V
Thank you