prueba asi:
Código Javascript
:
Ver originalvar X = jQuery.noConfict();
X('document').ready(function(){
X("#search").keyup(function(e){
var tecla = e.keyCode || e.which;
if (tecla != 13){
if (X("#response").css("display") != "none"){
X("#response").slideUp();
}
}
}).autocomplete({
minLength: 1,
source: "/include/class.php",
select: function (event, object){
X("#response h1").html(object.item.value);
X("#response h1").html(object.item.nombrenormal);
X("#response").slideDown();
}
}).data("ui-autocomplete")._renderItem = function (ul, item){
return X("<li></li>")
.append("<a class= buscabusca ><div id = buscador><label class = nombre value = '"+ item.value +"'>" + item.nombrenormal + "</label></div></a>")
.appendTo(ul);
};
});