I have a three div's on a page & each div have his own scroll. i am trying to view scroll on the hover of particular div the function is below.. Plz have any suggestion. function is currently working but on hover it show all scrolls of page (means 3 scrolls of these 3 div's) because each div has a same class & I can not change a class or cant add ID to div..
$(document).ready(function() {
$('.leftPanelFixed').hover(function(){
$('.jspVerticalBar').addClass('viewScroll');
},
function(){
$('.jspVerticalBar').removeClass('viewScroll');
});
});