summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/main.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js
index 6cf7da0..1f1610d 100755
--- a/js/main.js
+++ b/js/main.js
@@ -1,3 +1,4 @@
+(function ($) {
$(document).ready(function() {
var basePath = Drupal.settings.basePath;
var modPath = basePath + "jobs/";
@@ -14,4 +15,13 @@ $(document).ready(function() {
}
});
});
+
+ $(this).on('click','#d_app',function (e){
+ if($shortlist.prop("checked") == false){
+ alert("Please select atleast one resume for download");
+ e.preventDefault();
+ }
+ console.log('####');
+ });
});
+})(jQuery);