To make a PHP array available to JavaScript (js), first have to encode it in json. Then pass the json object to Javascript. Its important NOT to include any quote…
Continue Reading