Ti posto la soluzione più banale ( e pure meno sicura nel caso tu commetta errori nella "parte" relativa al php):
if ( typeof XMLHttpRequest == "undefined" ){
    XMLHttpRequest = function(){
        return new ActiveXObject(
        navigator.userAgent.indexOf("MSIE 5") >= 0 ?
        "Microsoft.XMLHTTP" : "Msxml2.XMLHTTP"
        );
    };
}
function get_field_data(){
    var xhr = new XMLHttpRequest();
    xhr.open('GET','foo.php');
    xhr.onreadystatechange = function() 
        if((xhr.readyState == 4) && (xhr.status == 200)) 
            eval(xhr.responseText);
    xhr.send(null);
}
```a questo punto, aggiungi all'elemento che ti interessa, la voce
onblur ="get_field_data()"
document.getElementById('campo1') = valore 1 ottenuto dall'array;
document.getElementById('campo2') = valore 2 ottenuto dall'array;
e cosi via.
PS: la pagina php dovrà ritornare del codice javascript valido, per fare in modo che poi attraverso eval esso venga eseguito.