I\'m searching for a better solution to making an AJAX call with jQuery, having the PHP file return an array, and have it come out client-side as a Javascript array. Here is
Have a look at json_encode() in PHP. You can get $.ajax to recognize this with the dataType: "json" parameter.