If i make:
$("#something").hover(function(){
console.log ( $(".button").attr("id"))
// or do something better with it.
});
Every time I received the latest image ID.
If it's:
$(".button").hover(function(){
console.log ( $(".button").attr("id"))
// or do something better with it.
});
Nothing is happend?