Syntax $("์ ํ์").siblings(); // ์ ํํ ์์์ ํ์ ์์๋ค์ ์ ํํ๋ค. $("์ ํ์").siblings("์ ํ์"); // ์ ํํ ์์์ ํ์ ์ค์ ์ ํ์๋ฅผ ์ด์ฉํด ์ ํํ๋ค. Ex $('.btn-outline-primary').click(function(){ $(this).siblings().removeClass("active"); $(this).addClass("active"); }); โก ํด๋ฆญํ ์์์ ํ์ ๋ค์ ์ ํํด์ activeํด๋์ค๋ฅผ ์ ๊ฑฐํด์ฃผ๊ณ ํด๋ฆญํ ์์์ activeํด๋์ค๋ฅผ ์ถ๊ฐํด์ค๋ค.