vbtrev Posted September 17, 2005 Posted September 17, 2005 Hi, when people click on the checkout button: echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . '</form>' . "\n" ; i want it to pop up an alert similar to this. ?> <script> window.alert("Your order has not been confirmed") </script> <?php i have put this in but it pops up when the page loads and i want it to pup up when they click the button. Thanks
Guest Posted September 17, 2005 Posted September 17, 2005 add an href link to the table cell where the checkout link is <a href="java script:youralertfunction()...etc then in the function do what you need including the alert window.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.