jQuery(document).ready(function($) { $('.categories_filter select:nth-of-type(1) option:nth-last-of-type(1)').prop('selected', true).change();; });