Running a function by typing in URL - Javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6329063/running-a-function-by-typing-in-url">Running a function by typing in URL</a>  </p>
</blockquote>



<p>On my website I have several functions that when a hyperlink is clicked on example.php page, the main content changes accordingly. Now I want to direct people from a single URL to that example.php page with the function already called. Example - www.example.com/example.php?AC ( which will call a function named AC and the content changes before the page loads)</p>

<p>I had already asked the same question, but forgot to tag javascript and tagged php.</p>

<p>Thanks in advanced.</p>
