inblog logo
|
Uni
    JQueryJAVA

    JQuery 선택자 확인하는 법

    JQuery
    홍윤's avatar
    홍윤
    Aug 13, 2024
    JQuery 선택자 확인하는 법
    선택자 확인 하는 법!!
    notion image
    notion image
    ================================================
    230706.hwp
    436.5KB
    ====================================================
    내용에서 찾는 것
    notion image
    notion image
    ================================================
    li가 비어있으면 안에 글을 넣어라
    notion image
    notion image
    결과~~~
    notion image
     
    ==========================================================
    li의 first child (첫번째 자식은 찾는 거다)
    notion image
    notion image
    ========================================================
    마지막 차일드
    notion image
    ===========================================================
    짝수번째 찾는 법
    notion image
    ======================================================
    디브컨테이너 안에 자식 요소만 선택한 것
    notion image
    =====================================================
    위에있는 div를 표시하는 것이다.
    notion image
    ===================================================
    그 다음에 있는 p를 표시한다.(찾는다)
    notion image
    ==========================================================
    해당 요소의 형제들을 표시한다
    notion image
    ======================================================
    p태그의 부모는 누구냐?
    notion image
    ===========================================================
    디브안에 내용을 추가한다
    notion image
    notion image
    결과
    notion image
    ================================================================
    추가!!
    notion image
    notion image
    ==============================================================
    내용삭제
    notion image
    ===============================================================
    디브 추가
    notion image
    ===================================
    디브클래스를 만드는 법
    notion image
    ==================================================
    디브클래스 지우는 법
    notion image
    ======================================================
    Share article

    Uni

    RSS·Powered by Inblog