diff options
author | prashantsinalkar | 2016-05-12 11:56:36 +0530 |
---|---|---|
committer | prashantsinalkar | 2016-05-12 11:57:54 +0530 |
commit | ce21da7962a328a84d86ce4447d023ce732225ed (patch) | |
tree | aacd3d9b2fd33a339705c8f17a26b17adcd2f092 | |
parent | f858c6639adb0b532b56eb81ee339d4a82a22c45 (diff) | |
download | job_portal-ce21da7962a328a84d86ce4447d023ce732225ed.tar.gz job_portal-ce21da7962a328a84d86ce4447d023ce732225ed.tar.bz2 job_portal-ce21da7962a328a84d86ce4447d023ce732225ed.zip |
added js no-conflict function for drupal
-rwxr-xr-x | js/main.js | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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); |