');
function addKeywordToSearchArray(keyValue){
keywordData.push(keyValue);
}
function removeKeywordFromSearchArray(curObj){
var curVal = curObj.siblings('span.keyword-text').html();
keywordData = removeElementFromArray(keywordData,curVal);
}
$(document).ready(function(){
$('#searchFilter').on('click',function(e){
e.preventDefault();
redirectUrl = BASEURL+'search-jobseekers/';
if(keywordData.length > 0){
redirectUrl = redirectUrl+'?keyword='+keywordData;
} else {
redirectUrl = redirectUrl+'?keyword=';
}
var searchType = $('#search_type').val();
if(searchType){
redirectUrl = redirectUrl+'&searchtype='+searchType;
}
var skill = [];var country = [];var experience = [];
var searchType = $('#search_type').val();
$('.skillDesk:checked').each(function(i){
skill[i] = $(this).val();
});
if(skill.length > 0){
redirectUrl = redirectUrl+'&skill='+skill;
}
$('.countryDesk:checked').each(function(i){
country[i] = $(this).val();
});
if(country.length > 0){
redirectUrl = redirectUrl+'&country='+country;
}
$('.experienceDesk:checked').each(function(i){
experience[i] = $(this).val();
});
if(experience.length > 0){
redirectUrl = redirectUrl+'&experience='+experience;
}
window.location.href=redirectUrl;
});
});
');
function addKeywordToSearchArray(keyValue){
keywordData.push(keyValue);
}
function removeKeywordFromSearchArray(curObj){
var curVal = curObj.siblings('span.keyword-text').html();
keywordData = removeElementFromArray(keywordData,curVal);
}
$(document).ready(function(){
$('#searchFilterMobile').on('click',function(e){
e.preventDefault();
redirectUrl = BASEURL+'search-jobseekers/';
if(keywordData.length > 0){
redirectUrl = redirectUrl+'?keyword='+keywordData;
} else {
redirectUrl = redirectUrl+'?keyword=';
}
var searchType = $('#search_type').val();
if(searchType){
redirectUrl = redirectUrl+'&searchtype='+searchType;
}
var skill = [];var country = [];var experience = [];
var searchType = $('#search_type').val();
$('.skill:checked').each(function(i){
skill[i] = $(this).val();
});
if(skill.length > 0){
redirectUrl = redirectUrl+'&skill='+skill;
}
$('.country:checked').each(function(i){
country[i] = $(this).val();
});
if(country.length > 0){
redirectUrl = redirectUrl+'&country='+country;
}
$('.experience:checked').each(function(i){
experience[i] = $(this).val();
});
if(experience.length > 0){
redirectUrl = redirectUrl+'&experience='+experience;
}
window.location.href=redirectUrl;
});
});
Do you like cookies? 🍪 We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
Learn more
Ok