title: Javascript onclick div element load page similar to link
body: <p>How do I load another page on the onClick event in Javascript?</p>
  
  <pre><code>&lt;div id="div_man" onclick="/subfolder/index.htm"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The code above is not working.
  Please explain. I am sure it's quite simple. Thanks in advance!</p>