empty()

웹이야기

[jQuery] .empty()

[jQuery] .empty() .empty() - 새로운 값을 가져올때 기존의 값을 제거함. .empty()가 없을경우 기존에 값의 뒤에 새로운 값이 추가 되여, 표현이 안될수도 있음.이게 맞는건가? ^^ .empty()Returns: jQueryDescription: Remove all child nodes of the set of matched elements from the DOM.version added: 1.0.empty()This method removes not only child (and other descendant) elements, but also any text within the set of matched elements. This is because, according to t..

아이탱
'empty()' 태그의 글 목록