jQuery dependencies
<p>I have the following code:</p>

<pre><code>function drawDimensions(divid) {
    // This function gets a JSON file, loops through the JSON code using $.each and fills the divid with parsed JSON content
}
</code></pre>

<p>On the other hand, I have 2 functions that allows me to toggle the menu and submenus by using <code>$.toggle()</code>.</p>

<p>What should I be loading under <code>$(document).ready(function() { });</code>?</p>

<p>At the moment, I'm loading the drawDimensions <strong>and</strong> the toggle functions under it, but the toggle does not work. Do I need to load them in a certain order within the document ready function? Does it matter?</p>

<p><strong>Note</strong>: toggle functions work if I disable the drawDimensions and simply attach the output html to the code.</p>
