I have an HTML document that contains this java script:
B4X:
<script>
function myFunction() {
var elmnt = document.getElementById("Q1");
elmnt.scrollIntoView();
}
</script>
If I put an input of type button within the HTML, and click it, it works fine and scrolls to the item with ID="Q1" :)...