title: Javascript closest/next sibling of type
body: <p>When I click span I want to get the next ul. I can do it by chaining nextSiblings, but that will break if I update and add more tags after the span in the future. Closest seems a good bet but it only works with ancestors.</p>
  
  <p>Is it possible to get next tag without creating unique ids for each instance?</p>
  
  <pre><code>&lt;span class="dropdown"&gt;category&lt;span&gt;
  &lt;button&gt;click&lt;/button&gt;
  &lt;ul&gt;&lt;li&gt;&lt;/li&gt;&lt;/ul&gt;
  </code></pre>