English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I need to make it so when someone clicks the 'Pay' button on my form 2 windows open up.
I need this as when they click 'Pay' it should goto a paypal payment form, which it does. But i also need them to see a window they says "Payment complete, thankyou" from my site as well as paypal.
Help?

2007-02-07 03:47:00 · 3 answers · asked by peter s 1 in Computers & Internet Programming & Design

3 answers

http://answers.yahoo.com/question/index?qid=20070207085952AApWzIL

2007-02-07 04:44:27 · answer #1 · answered by Anonymous · 0 0

Use javascript. Intercept the form submit and call a function. The function will look like this:

function submitRequest() {
window.open("http://webaddress/pagetopopopen");
document.forms[0].submit();
}

The submit will handle the processing; the thank you will pop up whether it sucessfully processes or not.

2007-02-07 11:54:50 · answer #2 · answered by Meg W 5 · 1 0

2007-02-07 11:52:51 · answer #3 · answered by fjpoblam 7 · 0 0

fedest.com, questions and answers