$("div.test:not(:first)").hide(); https://stackoverflow.com/questions/2259393/jquery-select-all-except-first