javascrtipt scroll to id code example
Example: js scroll to id
// Js
document.getElementById('id').scrollIntoView();
// JQuery
$('#id')[0].scrollIntoView();
// Js
document.getElementById('id').scrollIntoView();
// JQuery
$('#id')[0].scrollIntoView();