当值被删除时,如何清除自动建议div的内部结果?

Following is my auto suggest code created using jquery

$(document).ready(function(){
$(".input_search").keyup(function() 
{
var finder = $(this).val();
var queryString = 'key_wrd='+ finder;
if(finder==''){//check if search is empty}
else
{
 $.ajax({
 type: "POST",
 url: "searcher.php",
 data: queryString, 
 cache: false,
 success: function(html)
 {
  $(".display_found_query_cont").fadeIn();
  $(".display_found_query-window").append(html);
 }
 });
 }return false; 
 });
 });

This code closes the suggest window and clears the enterse text

$(document).mouseup(function (e)
{
var search_res_container = $(".display_found_query_cont");
if (!search_res_container.is(e.target)&& search_res_container.has(e.target).length === 0)
{
 search_res_container.fadeOut().html();
 $(".search_field").val('');
}
});

what do i want to do ?

I want the results displayed to be cleared when the text entered is erased So how do i do that?

try this code:

if(finder=='')
{
  //check if search is empty
  $(".display_found_query-window").html('');
}

As per your comment, you want to replace the old content with new result. So just chnage the below line in your ajax success.

$(".display_found_query-window").html(html);