javascript window.open lost session on closing popup window

Posted by user341799 on Stack Overflow See other posts from Stack Overflow or by user341799
Published on 2010-05-15T06:44:23Z Indexed on 2010/05/15 6:54 UTC
Read the original article Hit count: 340

Filed under:
|
|

Hi I'm using window.open function to popup the window as I close it, the link in parent window are not working here is my code

`var rcount =0; var radio_val = document.form1.ac_voucher_type_id.length; for (counter = 0; counter < radio_val; counter++){ if (document.form1.ac_voucher_type_id[counter].checked){ radio_choice = document.form1.ac_voucher_type_id[counter].value; //alert(document.form1.ac_voucher_type_id[counter].value); url1 = '?compid=&date='+document.getElementById('datepicker2').value+'&vouchertype='+radio_choice+'&voucherid='; url= typ+"entry.php"+url1; window.open(url,'',"width=500,height=500,scrollbars=yes"); }else{ rcount++; } }

                   // alert(rcount);
  if(rcount==radio_val){
   alert("Please select voucher type");
  }`

Please suggest the solution for this

© Stack Overflow or respective owner

Related posts about window.open

Related posts about closing