JSFiddle - React, Tailwind, and code Playground
HTML
<div dataindex="0" class="clstImages" id="dlstImages0"><img alt="Almond Branches in Bloom, San Remy, c.1890" title="Almond Branches in Bloom, San Remy, c.1890" src="http://imagecache5d.art.com/CropHandler/crop.jpg?img=21-2107-SA3ED00Z&x=0&y=0&w=400&h=400&size=2&maxw=100&maxh=100&mode=sq&q=100" id="eachimg" >
</div>
JavaScript
//$(document).ready(function () {
// $('.clstImages img').mouseover(function () {
// alert("mouseover");
// })
// .mouseout(function () {
// alert("mouseout");
// });
//});
$(document).ready(function () {
$('.clstImages img').hover(function () {
alert("mouseover");
}, function () {
alert("mouseout");
});
});