To pass values in a table as an array to javascript
<p>Is there a way that I could pass 5 values of a field from a table as an array to javascript function on onchange event of a dropdown box.</p>

<p>The 5 values have to be fetched through sql query.</p>
