ravi.kinjarapu Posted July 11, 2008 Share Posted July 11, 2008 hi i am new to php. how to access the parent variable in popup window? can any one help.. Thanks, Ravi.k Link to comment https://forums.phpfreaks.com/topic/114228-problem-with-maintain-of-parent-variable/ Share on other sites More sharing options...
john-formby Posted July 11, 2008 Share Posted July 11, 2008 How are you opening the popup window? If it is through a form then you could post the variable in a hidden field. If it is through a hyperlink then pass it as a get variable. Link to comment https://forums.phpfreaks.com/topic/114228-problem-with-maintain-of-parent-variable/#findComment-587365 Share on other sites More sharing options...
vikramjeet.singla Posted July 11, 2008 Share Posted July 11, 2008 Ravi this question is related to javascript not php. you may access parent variable by using this self.opener.variablename Link to comment https://forums.phpfreaks.com/topic/114228-problem-with-maintain-of-parent-variable/#findComment-587380 Share on other sites More sharing options...
ravi.kinjarapu Posted July 11, 2008 Author Share Posted July 11, 2008 thank you for reply.. it is working fine..... Link to comment https://forums.phpfreaks.com/topic/114228-problem-with-maintain-of-parent-variable/#findComment-587395 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.