title: How do I load an HTML page in a div using JavaScript?
body: <p>I want home.html to load in <code>&lt;div id="content"&gt;</code>.   </p>
  
  <pre><code>&lt;div id="topBar"&gt; &lt;a href ="#" onclick="load_home()"&gt; HOME &lt;/a&gt; &lt;/div&gt;
  &lt;div id ="content"&gt; &lt;/div&gt;
  &lt;script&gt;
        function load_home(){
              document.getElementById("content").innerHTML='&lt;object type="type/html" data="home.html" &gt;&lt;/object&gt;';
    }
  &lt;/script&gt;
  </code></pre>
  
  <p>This works fine when I use Firefox. When I use Google Chrome, it asks for plug-in. How do I get it working in Google Chrome?</p>