Can i pull html content from a exterior file? : <p>This might be a really stupid question... But i'm making a menu. Would it be possible to write the code for that menu in an outside source? and then pull it using Jquery or javascript and have it replaced in a  location or something?</p>

<p>The menu would look like:</p>

<pre><code>&lt;span class="menulist"&gt;
  &lt;span id="homemenu"&gt;
    &lt;button id="home"&gt;Home&lt;/button&lt;
  &lt;/span&gt;
  &lt;span id="onemenu"&gt;
    &lt;button id="one"&gt;Page One&lt;/button&lt;
  &lt;/span&gt;
&lt;/span&gt;
</code></pre>

<p>And have all that saved in a seperate file. I dn't care what type of file, .js, .txt, .html. and just pull the text and dump it as objects in a location specified for menu?</p>

<p>If this theoretically works here, I could use it elsewhere. such as writing the story narrative in one file and revealing it, or revealing it in part, and having the layout and technical workings on another file.</p>
