I am trying to write a script for a button that onclick it will redirect to the designated address than scroll to the position. but i'm having some trouble with getting it to scroll after it goes to the designated url. can someone help?
heres what I have:
window.location.href = "../AllMenu2.php";