Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

How to show an asp page as pop up using jquery in order to return value from pop up asp page to parent page.
Posted

1 solution

Access Parent from Popup

Use the context-parameter

$("#testdiv",parent.document)
But if you really use a popup, you need to access opener instead of parent

$("#testdiv",opener.document)

Show popup in Jquery

http://jqueryui.com/dialog/[^]

Exchange Value using JQuery :

http://api.jquery.com/data/[^]
 
Share this answer
 
Comments
Baroor 8-Oct-14 1:26am    
I think u didnt get my requirement exactly, i have to popup existing asp.net page as pop up, if any thing am selecting in the pop up asp.net web page that value should return to another asp.net web page.
Suvabrata Roy 8-Oct-14 2:11am    
Another mean to its parent or other page ?
Baroor 8-Oct-14 2:28am    
to parent page
Suvabrata Roy 8-Oct-14 4:51am    
Create a html element with Id at Parent Page and access using below code :

Access Parent from Popup

Use the context-parameter

$("#testdiv",parent.document)
But if you really use a popup, you need to access opener instead of parent

$("#testdiv",opener.document)
Baroor 8-Oct-14 5:02am    
I want with asp page, if i have Sample.aspx page , then how to show this page in pop up window???????????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900