I am passing a PHP array to a javascript function. The only way I know to do this is to create a js array from the PHP array and pass that to the js function. But this creat
You can always use XMLHttpRequest to load it as JSON or XML.