Hey Everyone
I hope everyone had a great weekend with their Dad this Father's day weekend.
I have a problem that I can not see to solve. I complete a mass deletion, then I want to close the page I am on, or open another one in my browser and execute a "locate: abcd_add.php" exit(); I do not need to pass anything, I jsut do not want my user able to hit the back button, so I decided to send them to another window in the browser. Any ideas?
Thanks
Mike
here is my snippet after my delete event::
if(@$_POST["a"]=="order"){
//** Redirect to another page ****
?><script type="text/javascript">
if (!confirm("I have read the Resales Information, and I agree all the terms"))
{
alert("You have not accepted the licence information, good bye");
<!--
window.location = "purchaseOrders_add.php";
//-->
}
</script>
<?php
}
one other thing.. I seem to have javascript reversed.. if I say I accept.. my next screen does not show, if I say cancel.... then it tries to load the PO_add page...