title: Make the span element inside div clickable
body: <p>I have a dropdown list using javascript. Inside my div I have a span element with the text for the div, because I want to show/hide the text according to the screen size. As I added the span element the span area is not clickable. Other parts in that div are clickable and show the menu, except for the area with the span. How to make the span clickable as well?</p>
  
  <p>Here's my code: </p>
  
  <pre><code>&lt;div onclick="dropDownFunction()" class="dropbtn"&gt;&lt;span&gt;My List &amp;nbsp;&lt;/span&gt; &lt;i class="fa fa-arrow-circle-down" aria-hidden="true"&gt;&lt;/i&gt;&lt;/div&gt;
  </code></pre>
  
  <p>And my codepen: <a href="http://codepen.io/nfds89/pen/MyLGKR" rel="nofollow">http://codepen.io/nfds89/pen/MyLGKR</a></p>