Use this simple function to pass a php array to Javascript. Be warned, php supports associative arrays and Javascript does not, so keep the arrays as simple single dimentional arrays and let the functions assign the default array key ids.
Searches include code snippets and descriptions. Refine using the dropdown. Search for code by function name. Ex: the_excerpt or str_replace. Results ordered by number of individual word matches.