"JQuery .toArray()"의 두 판 사이의 차이

(새 문서: ==개요== ;jQuery .toArray(); <source lang='html5'> <script src="//code.jquery.com/jquery.min.js"></script> <script> $(function() { console.log( $( "li" ).toArray() ); // [li, li,...)
 
17번째 줄: 17번째 줄:
</ul>
</ul>
</source>
</source>
*예제: http://zetawiki.com/jq/toarray.html


==참고 자료==
==참고 자료==

2015년 5월 2일 (토) 00:15 판

1 개요

jQuery .toArray();
<script src="//code.jquery.com/jquery.min.js"></script>
<script>
$(function() {
	console.log( $( "li" ).toArray() );
	// [li, li, li]
});
</script>

<ul>
<li>한놈</li>
<li>두시기</li>
<li>석삼</li>
</ul>

2 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}