Thanks for prompt reply.
When I say javascript popup I am echoing these commands to the browser.
See below an extract of my code:
<?
// display the product information from the selected item
echo"<div align=\"center\">";
.........
.........
THIS IS THE BUTTON I WANT TO BASICALLY CLOSE THE CURRENT WINDOW (POPUP) AND THEN GO TO BACK TO THE PARENT WINDOW
.........
echo"<p><TD><input type=\"button\" value=\"ADD TO TROLLEY\"onClick=\"window.close(),window.location='addToTrolley.php?upc_buy=$prod_code';return false\">";
......
......
If you want to see what I am trying to do go to:
http://jawa.doc.ntu.ac.uk/inetprog/Sites/CC005160/assignment/home.php
and click the INFO button
it's the "ADD TO TROLLEY BUTTON" in the popup that should close the POPUP nad then redirect to the trolley page
Thanks again!
?>