puoi usare this, this si riferisce sempre all'area di testo "corrente", cioè a quella che ha chiamato l'autocompletamento.
$(this).val(...