Hide Last DIV using JavaScript?
<p>I had a bit of a look around on Google, but couldn't find anything that worked. How do I hide the last DIV using the following code...</p>

<pre><code>document.getElementsByTagName('div').style.display = 'none';
</code></pre>
