function pay_not_agree() { $.post("ajax_function/not_agree_pay.php", { no:document.getElementById("no").value }, function(data) { deal_ajax_data(data); if(data=="1") { goback(-1); return true; } else { alert(data); return false; } } ); } function pay_agree() { result = receipt_check(); if(result==false) { return false; } v_payment = $("input[name='pay']:checked").val(); if(undefined == v_payment) { alert("Please select payment!"); document.getElementById("credit").focus(); return false; } document.form1.submit(); } /* function a_payment_iframe() { result = cacheIframe.document.body.innerText; // var arr = result.split("|"); alert(result); return; res= arr[0]; msg= arr[1]; url= arr[2]; input_keyword= arr[2]; if(res=="0") { alert(msg); } if(res=="1") { if(msg != "") { alert(msg); } if(url!="") { location.href=url; } } }*/