jQuery selection and slideToggle()
<p>I've got html like this :</p>

<pre><code>&lt;div id=1 class=header onclick="hideit(this.id)"&gt;Header1
&lt;div class=content&gt;Some content
&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>There are lots of this structure used in my code I want wo toggle the second div (content) if someone clicks on the header. </p>

<p>I wrote this function but its not working, can anybody tell me why?</p>

<pre><code>&lt;script language="javascript"&gt;
    function hideit(hID)
    {
      var searcher = "div[id="+hID+"] .content";
      $(searcher).slideToggle();
    }
&lt;/script&gt;
</code></pre>
