Jquery template looping {{each}}
<p>Template doesn't looping throw properties. Can someone help me?</p>

<p>JS:</p>

<pre><code>data = [{"width":"","deep":"","meterial":"","consist":"","height":"","qty":"3","size":"1","length":"","color":["FFFF00"],"price":"4000"},{"deep":"","width":"","meterial":"","consist":"","qty":"2","height":"","size":"2","color":["0000FF"],"length":"","price":"2"},{"deep":"","width":"","meterial":"","consist":"","qty":"1","height":"","size":"3","color":["00FF00"],"length":"","price":"1"}]

$('#subitem').tmpl({data:data[1]}).appendTo($block_to_append);
</code></pre>

<p>Template </p>

<pre><code>&lt;script id='subitem' type='text/x-jquery-tmpl'&gt;
    {{each $data}}
        &lt;dl class='row clearfloat'&gt;
            &lt;dt&gt;

            &lt;/dt&gt;
            &lt;dd&gt;

            &lt;/dd&gt;
        &lt;/dl&gt;
    {{/each}}
&lt;/script&gt;
</code></pre>
