web developer๐Ÿ‘ฉ๐Ÿป‍๐Ÿ’ป

  • ํ™ˆ
  • ํƒœ๊ทธ
  • ๋ฐฉ๋ช…๋ก

์ž์‹ ๋ฐ ํ•˜์œ„ ํƒœ๊ทธ ๋ชจ๋‘์—์„œ ์ฐพ๊ธฐ 1

[jQuery] ์ž์‹ ๋ฐ ํ•˜์œ„ ํƒœ๊ทธ ๋ชจ๋‘์—์„œ ์ฐพ๋Š” .find()

. find() ์„ ํƒ๋œ ์š”์†Œ ์ง‘ํ•ฉ์—์„œ ์„ ํƒ์ž ๋งค๊ฐœ๋ณ€์ˆ˜ : selector(#id, .class), jQuery๊ฐ์ฒด, element . find()์™€. children() ํ•จ์ˆ˜๋Š” ๋น„์Šทํ•˜์ง€๋งŒ ๋‹ค๋ฅด๋‹ค. . find() : ์ž์‹ ๋ฐ ํ•˜์œ„ ํƒœ๊ทธ ๋ชจ๋‘ ์ฐพ์„ ๋•Œ . chilidren() : ๋ฐ”๋กœ ์•„๋ž˜ ์š”์†Œ, ์ž์‹ ์š”์†Œ๋งŒ ์ฐพ์„ ๋•Œ 1 2 3 $('ul').find('span'); //span ๋ชจ๋‘ $('ul>li:eq(0)').children('span'); //์ฒซ๋ฒˆ์งธ span์„ ์ฐพ์„๋•Œ (์ž์‹์š”์†Œ) $('ul').find('span:eq(2)'); //์„ธ๋ฒˆ์งธ span์„ ์ฐพ์„๋•Œ (์ž์‹ ๋ฐ ํ•˜์œ„ ํƒœ๊ทธ ๋ชจ๋‘) $('ul').find('span:eq(2)').css('color', 'red'); ์ƒ‰์ƒ์„ ๋„ฃ์–ด ํ…Œ์ŠคํŠธ. 3๋ฒˆ์งธ ..

js 2021.05.11
์ด์ „
1
๋‹ค์Œ
๋”๋ณด๊ธฐ
ํ”„๋กœํ•„์‚ฌ์ง„

web developer๐Ÿ‘ฉ๐Ÿป‍๐Ÿ’ป

  • Category (192)
    • Spring (31)
      • Spring Boot (2)
    • js (64)
    • DB (24)
    • multi (7)
    • css (7)
    • ํ˜•์ƒ๊ด€๋ฆฌ (6)
    • ์ •๋ณด์ฒ˜๋ฆฌ๊ธฐ์‚ฌ (1)
    • Tistory (5)
    • Basic (14)
    • iOS (24)
    • Error (5)

Tag

์œˆ๋„์šฐ์‹ฌ๋ณผ๋ฆญ๋งํฌ๊ฑธ๊ธฐ, Oracle, monitorjbl ์—‘์…€, jxls, swift ๊ณ„์‚ฐ๊ธฐ, ์œˆ๋„์šฐ์‹ฌ๋ณผ๋ฆญ, poi monitorjbl, xlsx-streamer, Swift, swift ๋ฉ”๋ชจ์žฅ ๋งŒ๋“ค๊ธฐ, PostgreSQL, spring annotation, Xcode, xcode swift memo, ios app ๊ฐœ๋ฐœ, mysql, jxls ์—‘์…€, monitorjbl, MSsql, xcode12.5.1,

์ตœ๊ทผ๊ธ€๊ณผ ์ธ๊ธฐ๊ธ€

  • ์ตœ๊ทผ๊ธ€
  • ์ธ๊ธฐ๊ธ€

์ตœ๊ทผ๋Œ“๊ธ€

๊ณต์ง€์‚ฌํ•ญ

ํŽ˜์ด์Šค๋ถ ํŠธ์œ„ํ„ฐ ํ”Œ๋Ÿฌ๊ทธ์ธ

  • Facebook
  • Twitter

Archives

Calendar

ยซ   2025/05   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

๋ฐฉ๋ฌธ์ž์ˆ˜Total

  • Today :
  • Yesterday :

Copyright ยฉ Kakao Corp. All rights reserved.

ํ‹ฐ์Šคํ† ๋ฆฌํˆด๋ฐ”