I have the following code, which causes an error below. How do I use JQuery on with hover correctly?
The code:
// Hover on the view filters
$('body').on('hover', '#viewfilter', function(event)
{
$('#filterblock').show();
},
function(event)
{
$('#filterblock').hide();
});
There is no error but the show part doesn't seem to be firing.