dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function( taxonomy, value ) {
			this.writeDebug('selectQueryStringFilters', arguments);

			var $taxGroupContainer = $('#' + this.settings.taxonomyFilters[taxonomy]);

			// Handle checkboxes.
			if ( $taxGroupContainer.find('input[type="checkbox"]').length ) {

				for ( var i = 0; i < value.length; i++ ) {
					$taxGroupContainer.find('input:checkbox[value="' + value[i] + '"]').prop('checked', true);
				}
			}

			// Handle select fields.
			if ( $taxGroupContainer.find('select').length ) {
				// Only expecting one value for select fields.
				$taxGroupContainer.find('option[value="' + value[0] + '"]').prop('selected', true);
			}

			// Handle radio buttons.
			if ( $taxGroupContainer.find('input[type="radio"]').length ) {
				// Only one value for radio button.
				$taxGroupContainer.find('input:radio[value="' + value[0] + '"]').prop('checked', true);
			}
		}
function( taxonomy, value ) {
			this.writeDebug('selectQueryStringFilters', arguments);

			var $taxGroupContainer = $('#' + this.settings.taxonomyFilters[taxonomy]);

			// Handle checkboxes.
			if ( $taxGroupContainer.find('input[type="checkbox"]').length ) {

				for ( var i = 0; i < value.length; i++ ) {
					$taxGroupContainer.find('input:checkbox[value="' + value[i] + '"]').prop('checked', true);
				}
			}

			// Handle select fields.
			if ( $taxGroupContainer.find('select').length ) {
				// Only expecting one value for select fields.
				$taxGroupContainer.find('option[value="' + value[0] + '"]').prop('selected', true);
			}

			// Handle radio buttons.
			if ( $taxGroupContainer.find('input[type="radio"]').length ) {
				// Only one value for radio button.
				$taxGroupContainer.find('input:radio[value="' + value[0] + '"]').prop('checked', true);
			}
		}
function ( taxonomy , value ) { this . writeDebug ( 'selectQueryStringFilters' , arguments ) ; var $taxGroupContainer = $ ( '#' + this . settings . taxonomyFilters [ taxonomy ] ) ; // Handle checkboxes. if ( $taxGroupContainer . find ( 'input[type="checkbox"]' ) . length ) { for ( var i = 0 ; i < value . length ; i ++ ) { $taxGroupContainer . find ( 'input:checkbox[value="' + value [ i ] + '"]' ) . prop ( 'checked' , true ) ; } } // Handle select fields. if ( $taxGroupContainer . find ( 'select' ) . length ) { // Only expecting one value for select fields. $taxGroupContainer . find ( 'option[value="' + value [ 0 ] + '"]' ) . prop ( 'selected' , true ) ; } // Handle radio buttons. if ( $taxGroupContainer . find ( 'input[type="radio"]' ) . length ) { // Only one value for radio button. $taxGroupContainer . find ( 'input:radio[value="' + value [ 0 ] + '"]' ) . prop ( 'checked' , true ) ; } }
Select the indicated values from query string parameters.

@param taxonomy {string} Current taxonomy.
@param value {array} Query string array values.
Select the indicated values from query string parameters .