Hello, Im racking my brains over this one. My aim is to call a function in php that builds a javascript associative array/object as a string. Returns this string by the xajax addScript method so my functions can use the new javascript array. My php code is as follows: Code: $xajax = new xajax(); $xajax->registerFunction("populateSearchCriteria"); function populateSearchCriteria($arg, $type) { // build ...