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.
I am using this code for a graph:
var chart2={
label:names['c2'],
type:$('select[@name=c2type]').val(),
color:$('select[@name=c2color]').val(),
values:getTableCol('c2'),
stackedOn:names[$('select[@name=c2stack]').val()]};
In values:getTableCol('c2')
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 {12,45,45,50,55}
at run time. It is changeable.
How can I pass this value?