Can I save code within <script>...</script> in a different file and include it? : <p>Really basic javascript question:</p>

<p>Can I save code within <code>&lt;script&gt;...&lt;/script&gt;</code> in a different file and include it?</p>

<p>Will it work exactly the same?</p>

<p>Can I include it in the exact same place as the <code>&lt;script&gt;...&lt;/script&gt;</code>?</p>
