title: Get the values of selected checkboxes from an asp checkboxlist in jquery
body: <p>I am trying to get the selected value (or values) of the checkboxlist.  My problem is that I am binding the checkboxlist in c# and it's not rendering with the "Value" attribute as it would if I were to hard code the </p>
  
  <pre><code>&lt;asp:ListItem Value=".." .. /&gt;
  </code></pre>
  
  <p>My checkboxlist looks like this:</p>
  
  <pre><code>&lt;asp:CheckBoxList runat="sever" ID="cblStuff" DataValueField="myID" DataTextField="myName"&gt;&lt;/asp:CheckBoxList&gt;
  </code></pre>
  
  <p>So when I try to use jquery and do the follow, it returns only "on" as apposed to "myID".  Am I missing something? I was under the impression that is what the DataValueField was for?
  Here is the js I am using:</p>
  
  <pre><code>$("checkboxlist selector").change(function() {
        $(this).find(":checked").each(function() { alert($(this).val()); });
  });
  </code></pre>
  
  <p>Thanks.</p>