javascript goto 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();