Imagine I have two webpages, namely page1.aspx
and page2.aspx
. The scenario is as follows: in page1.aspx
, I use window.open()
in JavaScript to call page2.aspx
and pass a query string. Then, in page2.aspx
(the child page), I need to gather user information and once submitted, pass all the collected data back to page1.aspx
(the parent page). How can this situation be tackled?