Jquery: how do I reference this selector
<p>I want to get all the <strong>inputs</strong>: </p>

<ul>
<li><p>that are checkboxes,</p></li>
<li><p>that are checked and</p></li>
<li><p>have the class name that includes "-required".</p></li>
</ul>

<p>I have this, and have tried several variation, but nothing works:
<strong><code>$("input:checkbox[class*='-required']:checked");</code></strong></p>

<p><strong>example html:</strong></p>

<pre><code>&lt;form name="myform" method="POST"&gt;
        &lt;div id="checkFruits"&gt;FRUITS: &lt;/div&gt;
            &lt;input type="checkbox" id="chkFruit" class="chkFruit test-234-required" name="fruit" value="Apples" /&gt;Apples &lt;br /&gt;
            &lt;input type="checkbox" id="chkFruit" class="chkFruit test-234-required" name="fruits" value="Oranges" /&gt;Oranges &lt;br /&gt;
            &lt;input type="checkbox" id="chkFruit" class="chkFruit test-234-required" name="fruits" value="Pears" /&gt;Pears &lt;br /&gt;
            &lt;input type="checkbox" id="chkFruit" class="chkFruit test-234-required" name="fruits" value="Grapes" /&gt;Grapes &lt;br /&gt;&lt;br /&gt;
            &lt;input type="button" id="btnCheckFruit" value="Check Fruits" name="btnCheckFruit" /&gt;
&lt;hr /&gt;
        &lt;div id="checkCars"&gt;CARS: &lt;/div&gt;
            &lt;input type="checkbox" id="chkCar" class="chkCar" name="fruit" value="Lexus" /&gt;Lexus &lt;br /&gt;
            &lt;input type="checkbox" id="chkCar" class="chkCar" name="fruits" value="Maxima" /&gt;Maxima &lt;br /&gt;
            &lt;input type="checkbox" id="chkCar" class="chkCar" name="fruits" value="Cadillac" /&gt;Cadillac &lt;br /&gt;
            &lt;input type="checkbox" id="chkCar" class="chkCar" name="fruits" value="Lincoln" /&gt;Lincoln &lt;br /&gt;&lt;br /&gt;
            &lt;input type="button" id="btnCheckCar" value="Check Cars" name="btnCheckCar" /&gt;
&lt;hr /&gt;
            &lt;ul&gt;
                &lt;li&gt;foo&lt;/li&gt;
                &lt;li&gt;bar&lt;/li&gt;
&lt;/ul&gt;

    &lt;/form&gt;
</code></pre>
