I have an ASP.NET webform web application and I defined an array in codebehind and I want to access it in my page by javascript
public int[] GetSomeArray()
{
int[] Labels;
Labels = new int[8];
Labels[0] = 100;
Labels[1] = 90;
Labels[2] = 111;
Labels[3] = 121;
Labels[4] = 81;
Labels[5] = 102;
Labels[6] = 93;
Labels[7] = 103;
return Labels;
}
How can I access these values in javascript code?