Doing something with the ID of each checked box
<p>I've just learned that we can iterate through all checkboxes in a document, but I'm unclear on how to do anything with the values or properties of the checkboxes found.</p>

<p>Here's my code:</p>

<pre><code>    function buildrow(){
    $("input[type=checkbox][checked]").each( 
        function() { 
            alert($this.attr('id');//This doesn't work
        } 
    );
}
</code></pre>

<p>How do we do pull a value out and do something with it? Such as pull the value for the ID and set it as a variable?</p>

<p>Thanks</p>
