dima-kruglyak,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(function() {
var myAnchorText = $(".myAnchor").text();
$("ul").on("click mouseenter mouseleave", ".showEdt", function(event) {
var text = $(this).data("evalz");
if (event.type == "mouseenter") $(".myAnchor").html(text);
else if (event.type == "click") myAnchorText = text;
else $(".myAnchor").html(myAnchorText)
})
});
</script>
</head>
<body>
<ul>
<li class="showEdt" data-evalz="111">Milk</li>
<li class="showEdt" data-evalz="222">Bread</li>
</ul>
<div class="myAnchor">333</div>
</body>
</html>