Passing values from child page fancy popup window to parent page window

<div class="pane">
<h3>Heading comes here</h3>
<p>test</p>					
<div class="store1">COLLECT HERE</div>
</div>

I have popup window which contains the above div information, have 10 same type of divs, when i click on the button “COLLECT HERE” it is available in every div need to get the selected div information and pass that information to parent window while closing the pop up window.

Does anybody have any idea.

Small idea while selecting the button I think we can use .closest() menthod to get the information with clas name, I am not sure on this.

Try and see, it sounds like that could work here.

The easiest way to achieve this is for the child window to attach a parent’s function to the collect event. That way, the parent window will know where the event occurred, and can take care of closing the child window too.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.