Autocomplete - how to set a different value that the display value ?

Autocomplete - how to set a different value that the display value ?

Hi, I use autocomplete to fill a full address.
I have 4 fiels, I manage to get the 4 result values when selection a choice from the autocomplete, but I'd like to display the full adresse, and the dispatch in 3 different fields (that works already) and change the autocomplete fiel by a different value...

To be a little clear :

I use ZendX_Jquery to generate the Autocomplete code.

echo $this->autoComplete("customer_adress_complete",
    "",
    array('url' => URL.'customer/recherche/',
    'select' => new Zend_Json_Expr('function(event,ui){$("#street_id").val(ui.item.id);$("#customer_address_street_type").val(ui.item.type);$("#customer_address_street").val(ui.item.street);$("#customer_address_postcode").val(ui.item.cp);$("#customer_address_city").val(ui.item.city);}'),
    ));

I try to change the value with this -> $("#customer_address_street").val(ui.item.street);

Any idea ?

Thanks,

Aurélien.