javascript to hide div if homepage
<p>I want to hide a #div if it's on homepage. Anyone can help with the javascript or php?</p>

<p>I found something like this but its certainly not working. Bear with me as im really clueless on codes.</p>

<pre><code>&lt;?php if (!is_page('home') ) { echo &lt;div id="toolbar"&gt;;} ?&gt;
</code></pre>
