<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>
I want to store all the class elements under the <div id="input">
in array. What is the correct way to do it?
JS Fiddle: http://jsfiddle.net/gMjxu/