[JavaScript] input ํƒœ๊ทธ disabled ์†์„ฑ์„ ์ด์šฉํ•œ ๋ฒ„ํŠผ ํ™œ์„ฑํ™”/๋น„ํ™œ์„ฑํ™”
ยท
Frontend/JavaScript
๊ฒฝ๋งค ์„œ๋น„์Šค ํ”„๋กœ์ ํŠธ๋ฅผ ํ•˜๋‹ค๋ณด๋‹ˆ ์ƒํ™ฉ์— ๋”ฐ๋ฅธ ๋ฒ„ํŠผ ๋น„ํ™œ์„ฑํ™”๊ฐ€ ํ•„์š”ํ•˜์˜€๊ณ , ์ด๋ฅผ ์œ„ํ•ด ๊ธฐ๋ณธ์ ์ธ ๋ฒ„ํŠผ ๋น„ํ™œ์„ฑํ™” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์•Œ์•„๋ณด์•˜๋‹ค. input ํƒœ๊ทธ ๋‚ด์— disabled ์†์„ฑ ์‚ฌ์šฉSee the Pen button disabled by SeongHo-C (@seongho-c) on CodePen. input ํƒœ๊ทธ์— disabled ์†์„ฑ์„ ๋”ฐ๋กœ ๋ช…์‹œํ•˜์ง€ ์•Š์œผ๋ฉด, ๋ฒ„ํŠผ์€ ๊ธฐ๋ณธ์ ์œผ๋กœ ํ™œ์„ฑํ™” ์ƒํƒœ๊ฐ€ ๋œ๋‹ค.input ํƒœ๊ทธ์— disabled ์†์„ฑ์„ ๋ช…์‹œํ•ด ์ฃผ๋ฉด, ๋ฒ„ํŠผ์€ ๋น„ํ™œ์„ฑํ™” ์ƒํƒœ๊ฐ€ ๋œ๋‹ค. ํ™œ์„ฑํ™”/๋น„ํ™œ์„ฑํ™” ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ๋ฒ„ํŠผ์˜ ์ƒํƒœ ๋ณ€๊ฒฝSee the Pen button click disabled by SeongHo-C (@seongho-c) on CodePen. [JAVASCRIPT]const target =..
_์„ฑํ˜ธ_
'inputํƒœ๊ทธ disabled ์†์„ฑ' ํƒœ๊ทธ์˜ ๊ธ€ ๋ชฉ๋ก