I am trying to pull up a new window by using window.open.I used the following 
function:


function tosubmit(){
 
  if (document.forms[0].condition.checked == true){
        
    
window.open("/RoseValley/newrenewalbusiness.do?print=Y","","toolbar=no,menubar=no,height=700,width=900,left=60,top=0,scrollbars=yes");
 
   document.forms[0].submit();
        
   }else{
 
    document.forms[0].action = '/RoseValley/newrenewalbusiness.do?print=N';
      document.forms[0].submit();
      
   } 
  return true; 
 } 




It opens the page okay when I click on the button but I also want to pull up 
the data from the same action.Unfortunately it does not show the data in the 
pop up window.Please let me know what I am doing wrong.




Thanking you in advance


Regards


Antara C  



  


This message and the information contained herein is proprietary and 
confidential and subject to theRose Valleyemail policy statement, You may 
review the policy athttps://www.rosevalleyindia.com/emailprivacy

Reply via email to