We come across lot of times a need to convert an Array from ASP page to Javscript, so that we can manipulate in the HTML form using Javascript. Here is an example of how to do that. I have two include files, one for 1D array, one for 2D array and one example page calling those files.
Some documentation is available in the code itself.
Redirect after calling this function. You can View the Source of HTML page 'to see the Javascript array. Redirect after calling this function. You can View the Source of HTML page 'to see the Javascript array.