Hey Ross,
I’m wanting to hide the results on initial page load, but don’t see a setting for that. I’m attempting to do it with AJAX. When I set the ‘.search-filter-results’ to display: none, they hide. However, when target the first result (it’s a placeholder – “All States”) as a check to see if it’s selected or not, I can’t seem to get the results show if it’s not. Does my jQuery look sound?
jQuery(document).bind('ready ajaxComplete', function() {
$j('.search-filter-results').css('display','none');
if (!$j('#search-filter-form-205 .postform option[value="0"]')) {
$j('#search-filter-form-205 .search-filter-results').css('display','block');
}
});
URL is http://kevinobrienstudio.dreamhosters.com/two-filters/