How to print value in array with jQuery - .html
<p>I am trying to print a value from an array in jQuery to the screen using the .html function.
The variable is test.</p>

<p>If I just use the line of code below it will print everything in the array:</p>

<pre><code>$(this).html(test).addClass('messageboxerror').fadeTo(900,1);

Array ( [0] =&gt; 2820 Prairie [1] =&gt; 19316 [2] =&gt; 2820 Prairie [3] =&gt; Beloit [4] =&gt; 53511 [5] =&gt; [6] =&gt; 2012-01-17 [7] =&gt; [8] =&gt; union [9] =&gt; Rock County )
</code></pre>

<p>I have tried putting .html(test[0]) but this broke the script.</p>

<p>Thanks,</p>
