myfunction

  1. practicalsoft

    B4X FEED Run a Javascript embedded within an HTML document from B4a

    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" :)...
عقب
بالا