Does Javascript Events affect the the normal process flow in PHP
<p>I would like to import a jQuery function into a into a webpage but i want those functions to run asychronously of the php controller.
Say a user clicks on a button, i want the php codes to get triggered first before thr javascript functions are executed.
How possible is this?</p>

<p>Do i just add the javascript file at the bottom of the page or something.</p>

<p>The javascript function makes API calls and i dont what it to interfere with the speed of the webpage.</p>

<p>Does the Async Method in HTML help?</p>

<p>Any advise would be welcome. Ask for clarification in comments, thanks.</p>