Autocomplete: to show the value of the id from the result as normal text

Autocomplete: to show the value of the id from the result as normal text

Hello at All,

I am using the actual version of the autocomplete-ui-plugin for a lot of fields and all of them are working fine.

Since 2 days I try to find a example or a ToDo for the problems are following in this forum and in the whole web, but can not find one that I am be able to understand.

My php-source giving back the result as a json-package in the structure of the autocomplete-demo.

I want to assigne the value of the array-part "id" to a variable, show this variable as normal text in the web-page and posting it back to the php-application that is handling html-side.

Example: The entered the Code of a Bank in the field-id BankCode per autocomplete and selecting one. Than I will show the name of the Bank there is comming over "id" of the result as normal text in the page and posting it back to the php-script.

Has anybody a easy ToDo for me?