$('#search-city option[id-country]').hide(); $('#search-city option[id-country=' + myValue + ']').show(); $('#search-city').resetSS(); But I still see select options which must to be invisible