Sujeet Raman

Sujeet Raman

  • 864
  • 927
  • 354.3k

how to get the object from the window.open in window.opener

Oct 15 2019 11:21 AM
hi i am not able to get the object which i am passing through window.open
 
 
sret = window.open(urlaspx, obj, 'center:yes; dialogWidth:400px; dialogHeight:430px; help:0; status:0; scroll:0; resizable:1'); 
 
 
in my urlaspx 
 
<script type="text/javascript">
var obj= window.opener;
var name= obj.name;
var age= obj.age;
</script>
 
 
pls help me on this