functions.php
6 years ago
install.php
6 years ago
main-page.php
6 years ago
redirect-page.php
6 years ago
script.php
6 years ago
secondary-page.php
6 years ago
settings.php
6 years ago
style.php
6 years ago
script.php
20 lines
| 1 | <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> |
| 2 | <script> |
| 3 | |
| 4 | jQuery("document").ready(function($) { |
| 5 | |
| 6 | // ================================================== |
| 7 | // Confirm before data from the database |
| 8 | // ================================================== |
| 9 | |
| 10 | $(".remove-form").click(function() { |
| 11 | if (confirm("Are you sure you want to permanently remove this data?")) |
| 12 | return true; |
| 13 | else |
| 14 | return false; |
| 15 | }) ; |
| 16 | |
| 17 | |
| 18 | }); |
| 19 | |
| 20 | </script> |