summaryrefslogtreecommitdiff
path: root/js/confirm.js
diff options
context:
space:
mode:
authorpriyankabhagwat2016-07-26 17:00:21 +0530
committerpriyankabhagwat2016-07-26 17:00:21 +0530
commita497165c9d776cff3abd6a7967d9a9438545184d (patch)
tree13edc74ffce90915404ed21d735d4d4034655d08 /js/confirm.js
parent0ebea9e4f41eceae89c98bb04c170608b48c70b1 (diff)
downloadFOSSEE_Stats-a497165c9d776cff3abd6a7967d9a9438545184d.tar.gz
FOSSEE_Stats-a497165c9d776cff3abd6a7967d9a9438545184d.tar.bz2
FOSSEE_Stats-a497165c9d776cff3abd6a7967d9a9438545184d.zip
responsive layout and various changes
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;
+ }
+ });
+});