title: Trying to get checkbox label, but getting Object instead
body: <p>I am using a simple few lines of code to get the labels of checked checkboxes and alert the value. But for some reason the alert shows [object Object] for every checkbox instead of its label. What am I doing wrong?</p>
  
  <pre><code>function validate(){
      var interests="";
      $('input[type=checkbox]').each(function () {
             if (this.checked){
                 var id=$(this).attr('id');
                 interests += $("#"+id).next()
             }
      });
      alert(interests);
  
  }​
  </code></pre>
  
  <p><a href="http://jsfiddle.net/WFzS7/" rel="nofollow"><strong>jsFiddle</strong></a>:</p>