I had already thought about that, but the problem is....
I submit from another page and depending on what some varialbes are from that page, depends on how it submitted (you would have to see the whole thing to understand).
in the if(confirm){} I left it blank hoping at that point that it would then submit back throught and finish the script.
I understand about server and client side, I just thought that when you click ok on the confirm that it resubmits.
I can't put the javascript in with everything else because the case is not always Add Case(s) To Cart, it is often something else.
I can't do window.location, because of the way everything is set up, if the variables are all passed again, it would completely screw up the database.
Thanks for the thought though, I was just hoping there was a way to hold the server script until the confirm is resubmitted.