push value to a specific element in array
<p>I'm trying to push values into specific elements by creating a multidimensional array:</p>

<pre><code>var rate_info = [];
rate_info[0].push($("#title-textarea"+id).val());
rate_info[0].push($("select[name=category"+id+"]").val());
rate_info[0].push($("select[name=subcategory"+id+"]").val());
...
data: {
    "rate_info" : rate_info,
},
...
</code></pre>

<p>but this breaks my script and I'm not sure what I'm doing wrong</p>
