Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Window.opener question.....

I have a form (form1) which calls a popupwindow(form2).  I want the popupwindow (form2) to call the Page_Load load event of Form1.

Is this possible...maybe with window.opener?

Can someone please provide me with an example.  Currently I have.............

 window.opener.document.forms["<%= strFormName %>"].submit();
        window.close();
0
jm76
Asked:
jm76
1 Solution
 
nepostojeci_emailCommented:
I'm not sure what you are trying to do?
0
 
liviutudorCommented:
onload event will only fire once -- after the page has loaded. What you can do instead is to call the actual function that is assigned to onload event by calling window.opener.function_name().
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now