title: Hide h1 tag if div is empty from javascript's hide function
body: <p>I need to hide an H1 title if the list is emptied.  </p>
  
  <p>basically i am saying. Choose from the select dropdown; if the selected value is shown hide all others. Now I also need to say if list category[h1] title is empty hide that too, otherwise display the h1 title. </p>
  
  <p><a href="http://jsfiddle.net/ajandthensome42/8Ye87/4/" rel="nofollow">http://jsfiddle.net/ajandthensome42/8Ye87/4/</a></p>
  
  <p>If anyone could help I would be super grateful. </p>
  
  <pre><code>  $(document).ready(function(){
       $("#selectForm").change(function(event) {
       $(".all").hide();
        $("." + this.value).fadeIn("slow");
        $(".multi").fadeIn("slow");
  
  
        var size = $(".language-list li").size();
        if(size === 0){
         $(".language-list h1").hide();
          }
         else {
         $(".language-list h1").show();
          }
  
         });
      });
  </code></pre>