On my webpage, I have a crowded div (i.e. with a vertical scrollbar). Inside the div, I have bindings with identifiers. When I put one of these identifiers in the URL (mypage.html # id), I want the div, not the page, to scroll through this anchor.
How to do this, preferably using regular JavaScript? If it's too complicated, I will go with jQuery, but I will not use it in this project for anything else.
source share