diff options
Diffstat (limited to 'js/confirm.js')
-rwxr-xr-x | js/confirm.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/js/confirm.js b/js/confirm.js new file mode 100755 index 0000000..0702632 --- /dev/null +++ b/js/confirm.js @@ -0,0 +1,15 @@ +$(document).ready(function() +{ + + $( ".delete").bind("click", function () { + var e=confirm('Are you sure?'); + if(e) + { + return true; + } + else + { + return false; + } + }); +}); |