title: How to pass array value from code behind to jQuery?
body: <p>I am using jQuery in my web application. There are two fields where I want to pass an array value from code behind using jQuery.</p>
  
  <p>I am using this code for a graph:</p>
  
  <pre><code>var chart2={
    label:names['c2'],
    type:$('select[@name=c2type]').val(),
    color:$('select[@name=c2color]').val(),
    values:getTableCol('c2'),
    stackedOn:names[$('select[@name=c2stack]').val()]};  
  </code></pre>
  
  <p>In <code>values:getTableCol('c2')</code> I need to pass the array value from a code behind page. Right now it's taking its value from a table column but I don't need the table. Here I want to pass a value of form <code>{12,45,45,50,55}</code> at run time. It is changeable.</p>
  
  <p>How can I pass this value?</p>