From a497165c9d776cff3abd6a7967d9a9438545184d Mon Sep 17 00:00:00 2001 From: priyankabhagwat Date: Tue, 26 Jul 2016 17:00:21 +0530 Subject: responsive layout and various changes --- js/confirm.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 js/confirm.js (limited to 'js/confirm.js') 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; + } + }); +}); -- cgit