Bhavesh Vankar

Bhavesh Vankar

  • 766
  • 1.1k
  • 88.2k

Pass image from Child Page to Parent Page using Jquery

Sep 19 2020 4:11 AM
Below is my code to pass image from child page to parent page i want to pass my image from child page to parent page using asp.net c#. but still not resolved kindly can any one help me to resolve this ?
 
  1. <script type="text/javascript">  
  2.         function passImage()  
  3.        {  
  4.       //if (window.opener != null && !window.opener.closed)  
  5.         // {  
  6.           var vImage2 = windo.opener.document.getElementById("vImage2");  
  7.           //vImage2.src = document.getElementById("imgCapture");  
  8.          //vImage2.URL = "~/CroppedImage/19-09-20.jpg";  
  9.           vImage2.URL = "C:\VisiterManagment\VisiterManagment\CroppedImage\19-09-20.jpg";  
  10.         //  window.close();  
  11.       //}  
  12.       window.close();  
  13.        }  
  14. </script>  
 

Answers (2)