I used the following jQuery example which works like a charm. However it appends the results. What do I need to change to replace the results instead of appending?
Just change
$('#results').append(myHtml);
to
$('#results').html(myHtml);