jQuery(function($) {
// $( "#wpjb-top-search-form" ).submit(function( event ) {
// alert( "Handler for .submit() called." );
// event.preventDefault();
// });
$(document).ready(function(){
// Visibility toggle for adv-search-filters
(function($){
$('#adv-search-filters').click(function(){
$('#adv-search').slideToggle();
});
var string = $('#query').val()+' '+$('#location').val(); // how to do type and category
console.log(string);
string = string.trim();
console.log(string);
console.log(string.length);
if (string.length > 0) {
$('#alert-notice').show();
$('#alert-keywords').val(string);
}
})(jQuery);
// Clear filters function
// $(document).on('change', 'input[name="check_all"]', function () {
// $("table.demo tbody tr:not(.footable-filtered) input[type=checkbox]").prop('checked', this.checked);
// alert($("input:checkbox:checked").length);
// });
(function($){
$('#clearFilters').click(function(){
$('#adv-search').find('input[type=checkbox]:checked').removeAttr('checked');
$('#adv-search').find('input[type=radio]:checked').removeAttr('checked');
});
})(jQuery);
// ORIGINAL BLOCK
// $checks = $(".features:checkbox");
// $checks.on('click', function() {
// var string = $checks.filter(":checked").map(function(i,v){
// return this.value;
// }).get().join(" ");
// $('#query').val(string);
// });
$checks = $(".features:checkbox");
$checks.on('click', function() {
var string = $checks.filter(":checked").map(function(i,v){
return this.value;
}).get().join(" ");
$('#query').val(string);
$('#query').val( $('#query').val() + ' ' +$('input[type=radio][name=hours]').filter(":checked").val() );
// $('#criteria').val(string);
});
$selects = $(".features:select");
$selects.on('change', function() {
var string = $selects.filter(":checked").map(function(i,v){
return this.value;
}).get().join(" ");
$('#query').val(string);
$('#query').val( $('#query').val() + ' ' +$('input[type=radio][name=hours]').filter(":checked").val() );
// $('#criteria').val(string);
});
$('input[type=radio][name=hours]').change(function() {
$hours = this.value;
console.log('hours', $hours);
$checks = $(".features:checkbox");
$checks.on('click', function() {
var string = $checks.filter(":checked").map(function(i,v){
return this.value;
}).get().join(" ");
$('#query').val(string);
console.log('query', $('#query').val());
$('#query').val( $('#query').val() + ' ' +$hours );
console.log('query', $('#query').val());
// $('#criteria').val(string);
});
// $('#query').val(this.value);
});
$('#submit').on('click', function() {
var string = $('#date').val()+' '+$('#query').val();
$('#query').val(string);
$('#criteria').val(string);
$('#alert_keywords').val(string);
// Need to add "BC" to the end of queries with vancouver in them (when using a radius)
if ($('#location').val().toLowerCase().indexOf("vancouver") >= 0 && $('#location').val().toLowerCase().indexOf(" bc") 0) {
$('#adv-search').slideToggle();
}
});
});
<!--
-->
Dr. Tatyana Wells
Posted: Oct, 21
Jun 1, 2026 - Jun 21, 2026
Dr. Natalie Angus
Posted: Oct, 21
Jan 19, 2026 - Jan 30, 2026
Fraser Northwest Division of Family Practice
Posted: Oct, 21
Feb 9, 2026 - Feb 27, 2026
Vancouver Division of Family Practice
Posted: Oct, 20
Nov 20, 2025 - Nov 20, 2026
Vancouver Division of Family Practice
Posted: Oct, 20
Nov 20, 2025 - Nov 20, 2026
Vancouver Division of Family Practice
Posted: Oct, 17
Jan 1, 2026 - Jan 1, 2027
Kootenay Boundary Division of Family Practice
Posted: Oct, 14
Dec 8, 2025 - Dec 12, 2025
Lark Medical Clinic
Short Term (<2 wks)
Satbir Jhand
Posted: Oct, 11
Nov 20, 2025 - Dec 4, 2025
Optional early start date: Nov 19, 2025
Strathcona Medical Clinic
Long Term (>8 wks)
Dr. Vadieh Hamidi
Posted: Oct, 10
Mar 1, 2026 - Sep 30, 2026
FraserWay Medical Clinic
Long Term (>8 wks)
Somtoo Nwachukwu
Posted: Oct, 09
Jan 5, 2026 - Jul 31, 2026
Guisachan Family Medicine
Short Term (<2 wks)
Dr. Brian Mackay
Posted: Oct, 07
Nov 3, 2025 - Nov 6, 2025
Long Term Care Family Physician - Casa Mia Seniors Care
Long Term (>8 wks)
Vancouver Division of Family Practice
Posted: Oct, 06
Oct 6, 2025 - Oct 6, 2028
REACH Community Health Centre
Long Term (>8 wks)
Hailey Ng
Posted: Oct, 06
Nov 4, 2025 - Nov 4, 2026
Optional early start date: Oct 14, 2025
Nelson Medical Clinic Inc
Long Term (>8 wks)
Kootenay Boundary Division of Family Practice
Posted: Sep, 29
Apr 6, 2026 - Jun 5, 2026
Locum Family Physician - Laurel Medical Clinic
Long Term (>8 wks)
Vancouver Division of Family Practice
Posted: Sep, 26
Jan 1, 2026 - Jul 1, 2026
Whistler 360 Health
Long Term (>8 wks)
Karin Kausky
Posted: Sep, 26
Mar 2, 2026 - Jun 2, 2026
Optional extended dates: Jan 1, 2026 - Dec 31, 2026