Professionals Search Results
Found 26 results for: j
-
-
-
-
-
-
-
-
-
-
-
";
var lenPract = data[i]._Practices.length;
liHtml += "
";
count++;
}
if (liHtml) {
$("ul#lawyerDiv").append(liHtml);
}
if (count < 4) {
$('#hdnSkip').val(4);
$('.archives-lists-more').removeClass('visible-xs');
$('#LoadMoreLawyers').hide();
$('#ShowLessLawyers').show();
}
$('#hdnSkip').val(parseInt($('#hdnSkip').val()) + count);
count = 0;
} else {
$('.archives-lists-more').removeClass('visible-xs');
$('#LoadMoreLawyers').hide();
$('#ShowLessLawyers').show();
}
},
error: function (jqXHR, textStatus, errorThrown) {
console.log(textStatus, errorThrown);
}
});
}
$('#ShowLessLawyers').click(function () {
$('#lawyerDiv > li:gt(4)').hide();
$('#ShowLessLawyers').hide();
$('#LoadMoreLawyers').show();
$('#hdnSkip').val(4);
});
//iPad & Mobile
function advanceSearch() {
var lname = $("#mlastName").val();
var fname = $("#mfirstName").val();
var keyword = $("#mkey").val();
var practice = $("#mpractice_id").next().find('.sbSelector').text() == "Practice" ? "" : $("#mpractice_id").next().find('.sbSelector').text();
var position = $("#mposition_id").next().find('.sbSelector').text() == "Position" ? "" : $("#mposition_id").next().find('.sbSelector').text();
var location = $("#mlocation_id").next().find('.sbSelector').text() == "Location" ? "" : $("#mlocation_id").next().find('.sbSelector').text();
var school = $("#mschools_id").next().find('.sbSelector').text() == "Schools" ? "" : $("#mschools_id").next().find('.sbSelector').text();
window.location = "/professionalsearchresult/?lname=" + encodeURIComponent(lname)
+ "&fname=" + encodeURIComponent(fname) + "&key=" + encodeURIComponent(keyword)
+ "&pract=" + encodeURIComponent(practice) + "&pos=" + encodeURIComponent(position)
+ "&loc=" + encodeURIComponent(location) + "&sch=" + encodeURIComponent(school);
}
//Desktop
function advSearch() {
var lname = $("#txtLastName").val();
var fname = $("#txtFirstName").val();
var keyword = $("#txtKeyword").val();
var practice = $("#practice_id").next().find('.sbSelector').text() == "Practice" ? "" : $("#practice_id").next().find('.sbSelector').text();
var position = $("#position_id").next().find('.sbSelector').text() == "Position" ? "" : $("#position_id").next().find('.sbSelector').text();
var location = $("#location_id").next().find('.sbSelector').text() == "Location" ? "" : $("#location_id").next().find('.sbSelector').text();
var school = $("#schools_id").next().find('.sbSelector').text() == "Schools" ? "" : $("#schools_id").next().find('.sbSelector').text();
window.location = "/professionalsearchresult/?lname=" + encodeURIComponent(lname)
+ "&fname=" + encodeURIComponent(fname) + "&key=" + encodeURIComponent(keyword)
+ "&pract=" + encodeURIComponent(practice) + "&pos=" + encodeURIComponent(position)
+ "&loc=" + encodeURIComponent(location) + "&sch=" + encodeURIComponent(school);
}