javascript - Want to get the div object that is currently visible -
on window scroll end want know div current visible user?
how can name of div on screen or can div visible user through jquery?
check visibility of div using it's id. retrieve name of div.
if($('#divid').is(':visible')) { alert($('#divid').attr('name')); }
Comments
Post a Comment