Click here to Skip to main content
15,909,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to bring an array(a[i]) from code behind (C#) to javascript
someone plz help me out
Posted
Comments
Anuja Pawar Indore 7-Dec-11 9:32am    
You need the complete array, or just specific value of that array say a[2]
Member 8453405 7-Dec-11 9:36am    
the complete array........

Hello,

You can use Json.NET project hosted on CodePlex to achieve this.

Regards,
Prasad P. Khandekar
 
Share this answer
 
Comments
Wonde Tadesse 7-Dec-11 18:45pm    
5+
Try this:

JavaScript
var abc = document.getElementById('<% array[].ClientID; %>')


Regards,
Eduard
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900