Posts by Gerley • 11 points
1 post
-
1
votes4
answers143
viewsA: Get date-img value
$(".gettool").hover(function(){ var imagetooltip = $(this).attr("data-img"); $(this).find('img').attr('src', imagetooltip); }); I’m doing like this now: $(document).ready(function(){…