title: Can javascript simulate a button click?
body: <p>I am designing a site where it would be problematic if macros were allowed to run freely.</p>
  <p>I have thought of a way to stop a macro made by simulating the HTTP requests from a button click but this would be in vain if they could insert javascript scripts which just &quot;click&quot; the button and proceed as a normal user would.</p>
  <p>By simulating a button click, I mean, the button is pressed and the Form the button is in runs with the php code associated with it.</p>
  <p>Logic tells me javascript can do this but I would like to know for sure, thank you for any input!</p>