How to pass array values child to parent page using java script or jquery

Posted by Naidulaxmi under jQuery on 8/5/2014 | Points: 10 | Views : 1393 | Status : [Member] | Replies : 1
Hi Friend,


In the parent page click the anchor tag then open the popup(using fancy box).In this fancy box display the child page.
once close the fancy box or click the submit button in child page then goes the array values in to parent page.How to pass array values child to parent page using java script or jquery.

Could you please send me answer ASAP. This is urgent.

Note: Parent page doesn't refresh or reload.

Thanks.

appalanaidu


Responses

Posted by: kgovindarao523-21772 on: 8/5/2014 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,
If you are using two different pages, One is Home and another one is HomeInner. Till now what you implemented is if click one button In Home Page, Home Inner Page is Opening in a fancy box, like a window.
If your 'array values' are C# array values, you can store those values in a Session Object on button click.

But 'array values' are java script array, you need to do it in Home Page itself with modal popup. means your html or data in HomeInner Page must be in HomePage only, and if click one button In Home Page, that modal popup will open.


Thank you,
Govind

Naidulaxmi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response