<script type="text/javascript">
$(document).ready(function () {
});
</script>
<div id="input">
<div class="feature draggable">Drag 1</div>
<div class="feature resizable">Resize</div>
<div class="feature downloadable">Download</div>
<div class="feature draggable">Drag 2</div>
<div class="feature trackable">Track</div>
<div class="feature colorable">Color</div>
</div>
我想将所有类元素存储在<div id="input">
in 数组下。正确的方法是什么?
JS 小提琴:http: //jsfiddle.net/gMjxu/