I have JSON data feeding id, label and value as keys for values.
When I select data I select the label/value values onto the textbox #id_emp_name. I want to be able to insert the id of the label/value that was selected into the hidden textbox #id_emp_id.
My current javascript code:
$('#id_emp_name').autocomplete({ source: '/best_choose/employees.json', minLength: 1, dataType: 'json', max: 12 });