Можно ли аккуратно объединить эту функцию.
Я использую функцию mouseenter, чтобы показать содержимое моей страницы ajax и скрыть его с помощью mouseleave
$(function() {
$("#card_client").mouseenter(function(){
$("#results").load("data/show_card.php");
$("#results").show();
});
$("#card_client").mouseleave(function(){
$("#results").hide();
});
});
Подробнее здесь: https://stackoverflow.com/questions/785 ... -with-ajax