Javascript / Jquery functions
<p>Not sure if I am being totally wrong here but I want to do something like this:</p>

<ol>
<li>Have an external js page (on an external server)</li>
<li>Include the page  - OK that is easy  etc...</li>
<li>Have a Jquery function on the external page - well actually many functions</li>
<li>Call those functions directly onto the page.</li>
</ol>

<p>All a bit like this:</p>

<p>External js page:</p>

<pre><code>$(document).ready(function() {

function testit() {
$('#test').load('page.php');
}

function testit_1() {
$('#test_1').load('page_1.php');
}


function testit_1() {
$('#test_2').load('page_2.php');
}

});
</code></pre>

<p>Then on the actual page just call:</p>

<pre><code>&lt;script type="script/javascript"&gt;

 testit();

&lt;/script&gt;

&lt;div id="test"&gt;&lt;/div&gt;
</code></pre>

<p>Am I wrong or should that not work?</p>
