Autocomplete Insert Ajax Onselect

How can I insert ajax on onselect in the autocomplete in yii?