title: How to toggle <li> in a nested list?
body: <p>I'm trying to be able to toggle these sub menus one at a time, I'm getting lost in nests and cant quite figure out how to target the correct list item,</p>
  <p>I found that I should be using <code>find()</code> instead of <code>children()</code> as it can go deeper in the nest but still no luck in getting it working.</p>
  <pre><code>    &lt;ul&gt;
        &lt;li&gt;Profile&lt;/li&gt;
        &lt;li&gt;Edit&lt;/li&gt;
        &lt;li class=&quot;drop-nav&quot;&gt; &lt;a href=&quot;#&quot;&gt; See your products&lt;/a&gt;  
          &lt;ul&gt;                                      
            &lt;li class=&quot;drop-nav&quot;&gt; &lt;a href=&quot;#&quot;&gt; Mens &lt;/a&gt;        
              &lt;ul&gt;
                &lt;li&gt;  &lt;a href=&quot;#&quot;&gt; jumpers &lt;/a&gt; &lt;/li&gt;
                &lt;li&gt;  &lt;a href=&quot;#&quot;&gt; t shirts &lt;/a&gt; &lt;/li&gt;
              &lt;/ul&gt;
            &lt;/li&gt;
            &lt;li class=&quot;drop-nav&quot;&gt; &lt;a href=&quot;#&quot;&gt;Womens&lt;/a&gt;           
              &lt;ul&gt;                          
                &lt;li&gt; &lt;a href=&quot;#&quot;&gt; hoodies &lt;/a&gt; &lt;/li&gt;
                &lt;li&gt; &lt;a href=&quot;#&quot;&gt; leggings &lt;/a&gt; &lt;/li&gt;
              &lt;/ul&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
  
  
   $(&quot;.drop-nav&quot;).on(&quot;click&quot;, function(e){
     e.preventDefault();
  
     });
  
  
  
   li ul{
   display: none;
    }
  </code></pre>