답변 2개
채택된 답변
+20 포인트
8년 전
가능합니다.
</p><p><!DOCTYPE html></p><p><html></p><p> <head></p><p> <meta charset="UTF-8" /></p><p> <title>title</title></p><p> </p><p> <script type="text/javascript" src="<a href="<a href="http://code.jquery.com/jquery.min.js" target="_blank" rel="noopener noreferrer">http://code.jquery.com/jquery.min.js</a>"><a href="http://code.jquery.com/jquery.min.js" target="_blank" rel="noopener noreferrer">http://code.jquery.com/jquery.min.js</a></a>"></script></p><p> <script type="text/javascript"></p><p> function test_create() {</p><p> $("#ajax_load").html('<ul><li>1</li><li>2</li><li>3</li></ul>');</p><p> }</p><p>
</p><p> function test_select() {</p><p> var lists = $('ul li');</p><p> alert(lists.size());</p><p> }</p><p> </script></p><p> </p><p> </head></p><p> <body></p><p>
</p><p> <input type="button" value="create node" onclick="test_create()" /></p><p> <input type="button" value="select node" onclick="test_select()" /></p><p> <div id="ajax_load"></div></p><p>
</p><p> </body></p><p></html></p><p>
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
채택
답변대기
답변대기
채택
답변대기