0 LIKES LikeUnLike
hi goodpeoople!i've a pop up window and inside of it is a form, a form have 2 values and that values need to be pass in a specific page but not in a pop up window.. but my problem is, the value inside my form that im going to pass will never be retreive in test.php page...below is my code:<form name="reg_form" method="post" action="test.php" onSubmit="return val_reg_form()"> <input type="checkbox" name="termsCondition" value="Agree"/> <input type="submit" id="submit" value="Create" name="finish"/></form>then my javascript code:function val_reg_form ( ){ var frm=document.reg_form; valid = true; <!-- For login validation --> if(!frm.termsCondition.checked) { frm.termsCondition.focus(); valid= false; alert('Please Read the Terms and Conditions and check the box'); } else{ window.opener.location.href = "test.php"; window.close(); } return valid;}any idea guyz??i really appreciate if you have..thankz
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 1 answers.