summaryrefslogtreecommitdiff
path: root/js/confirm.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/confirm.js')
-rwxr-xr-xjs/confirm.js15
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;
+ }
+ });
+});