요소가 디바인지 확인합니다. 다음을 확인하려면 어떻게 해야 합니까?$(this)가div,ul아니면blockquote? 예를 들어, if ($(this) is a div) { alert('its a div!'); } else { alert('its not a div! some other stuff'); } 이와 같은 것: if(this.tagName == 'DIV') { alert("It's a div!"); } else { alert("It's not a div! [some other stuff]"); } jQuery가 없는 솔루션은 이미 게시되어 있으므로 jQuery를 사용하여 솔루션을 게시하겠습니다. $(this).is("div,ul,blockquote") 이 요소가 DIV인지 확인하려면 다음과 if..