kjc
09-16-2002, 07:38 PM
I am creating an e-commerce site using PHP and MySQL. The problem I have is controlling windows when accepting payments.
At the moment when a client has completed their order and wants to enter their credit card details they will click on the payment button and a pop window appears that will allow them to enter their details securely. What I want to be able to do is to have a button on the popup window so that once the details have been entered correctly, the button can close the popup window and simulatenously (cant spell that!) change the page from the main window(ie, the original page).
Is there anyway of doing this using JavaScript. I can close the window ok, but then the user would have to manually click a button on the main page to move on, and this would be confusing to some people. I want the main page to alter automaticcally once the user has clicked the popup window button.
Any ideas
kjc:thumbsup:
At the moment when a client has completed their order and wants to enter their credit card details they will click on the payment button and a pop window appears that will allow them to enter their details securely. What I want to be able to do is to have a button on the popup window so that once the details have been entered correctly, the button can close the popup window and simulatenously (cant spell that!) change the page from the main window(ie, the original page).
Is there anyway of doing this using JavaScript. I can close the window ok, but then the user would have to manually click a button on the main page to move on, and this would be confusing to some people. I want the main page to alter automaticcally once the user has clicked the popup window button.
Any ideas
kjc:thumbsup: