$('.slider').each(function(){
if($('li:last',this).width()+$('li:last',this).offset().left-$('li:first',this).offset().left < $('div',this).width()){
//doing something
}
});
I have multiple slides and only one is visible. here I'm trying to do some thing after reading each slides. Issue is that I'm not able to read slides if its hidden. is there any way I can read hidden div using jquery.