How to Execute Javascript Code Using Variable in URL
<p>I'm really new to Javascript and I'm having some trouble understanding how to get the following to work. My goal is to have a certain Javascript action execute when a page loads and a variable added to the end of the URL would trigger which Javascript action to execute. The URL of the page that I'm looking to implement this on is <a href="http://www.morgantoolandsupply.com/catalog.php" rel="nofollow">http://www.morgantoolandsupply.com/catalog.php</a>. Each of the "+expand" buttons, which are Javascript driven, drop-down a certain area of the page. Ultimately, I would like to be able to create a URL that would automatically drop-down a certain category when the page loads. Could anybody explain to me the process to do this? Thanks in advance for any help!</p>
