scrollTop
property of the parent div, setting it to the target element's offsetTop
.okay na po, thankss!!for fs
To scroll to an element inside a div using JavaScript, you can use thescrollTop
property of the parent div, setting it to the target element'soffsetTop
.
or you can use this one
You do not have permission to view the full content of this post. Log in or register now.
check lang muna lods.baka may mali