i wanted to do this trick for a project. im a bit of a php guy, and i only need to be able to do something in JS first.
i have this form, and whenever i submit that, i want it to ask me a question with a Yes/No button, after choosing, it will close and the form will submit, and also, i can access the users answer on my php code? is this doable?
or my second idea, my form will not have a submit button, but an ordinary button. this button will open a pop-up window, then depending on the answer, the window will close upon clicking a button, which will update a hidden field on my opener form (so i can access the answer on my php script) and thus automatically submitting the opener form.
is there such thing as opener.form.submit()?
please help/advise me on this..