Hiding button by "Id" works, but clicking it not – Jquery
I execute the top portion here automatically. In this script I can easily hide "showLine" via document.getElementById("showLine").style.visibility="hidden"; no problemo, but document.getElementById("showLine").click(); will not fire no matter what I do... The button does not press onload.. <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> //Autoexecute on pageload…