in reply to Re: Adding a pop up confirmation box
in thread Adding a pop up confirmation box
Andprint header; print <<EOF; <script type="text/javascript"> function confirmOk() { return window.confirm("Confirm deletion?"); } </script> EOF
Rgds Terry# If the form was properly submitted, save the data if ($input{"go"} eq "DELETE") { print button(-name=>'Delete', -value=>'DO you really want to delete it ?', -onClick=>"return confirmOk()"); $query = "DELETE ....
|
|---|