I have a generated array which if hard coded passes the array objects to a function for processing fine.
However, I need to make this more dynamic so am generating the the array externally and importing using ajax. This is what I'm Trying:
(generateArray.asp would output
I have tried several dataTypes and all fail.
The problem seems to be that the in the working version the JQCloud plugin receives the array as objects:
[object Object],[object Object]
where as my ajax version receives/sends it as a string:
Is there a way to import the the array and pass it though to the JQCloud function/plugin as a proper array rather than a string or convert the string to an array for processing?
It's worth noting that the return doesn't seem to be recognised as valid JSON data...