Vai al contenuto

Read Array Command

This command returns a string appropriately formatted for use in a javascript code. The string contains only the list of array values, separated by commas.The command is inserted in the … section of the HTML code.
<% aspGetJavascriptArray(char *label, int nelement); %>
where:– label: is the name of the variable to be read – nelement: is the number of elements making up the array
Example:<% aspGetJavascriptArray("array1", 5 ); %>