html element in autocomplete field

i would like to have a html element in autocomplete suggestion when i use CJuiAutoComplete. i have read this article but when i return html element i get text.

where you want to hava a html element? inside the inputfield??

thank u and i edited my question. i need html in autocomplete suggestion

do you want to highlight? see no differnt in your question

Here is the Code for highlightning

maybe it helps you ;)

Yii::app()->clientScript->registerScript('highlightAC', '$.ui.autocomplete.prototype._renderItem = function (ul, item) {

                item.label = item.value.replace(new RegExp("(?![^&;]+<img src='' class='bbc_emoticon' alt=';)' />(?!<[^<>]*)(" + $.ui.autocomplete.escapeRegex(this.term) + ")(?![^<>]*>)(?![^&;]+<img src='' class='bbc_emoticon' alt=';)' />", "gi"), "<strong>$1</strong>");

                return $("<li></li>")

                        .data("item.autocomplete", item)

                        .append("<a class=\""+ item.class +"\">" + item.label + "</a>")


            };', CClientScript::POS_END);