Saturday, August 21, 2010

How to Populate javascript array from asp.net array?

I want to populate all values from asp.net array to javascript array.Please give me simple example code that helps me.


How to Populate javascript array from asp.net array?
I would know how to help a lot more if the question was with PHP, but I got a suggestion for you that might help.





add all values from the .net array in a hidden select box and call a javascript function that will read the elements from the select box to populate the javascript array.





Good luck.

No comments:

Post a Comment