Does anyone know how to pass a C# ASP.NET array to a JavaScript array? Sample code will also be nice.
Sorry if I was vague earlier guys. The question is actually quite simple. Let's say for simplicity that in my aspx.cs
file I declare:
int [] numbers = new int[5];
Now I want to pass numbers
to the client side and use the data in the array within JavaScript . How would I do this?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…