jquery - get input name that ends with?
<p>My input fields are named like this:</p>

<pre><code>&lt;input name="sec[grp-29][factor][0][i_score]" value="4" id="edit-sec-grp-29-factor-0-i-score" type="checkbox" /&gt;
&lt;input name="sec[grp-30][factor][0][i_score]" value="4" id="edit-sec-grp-30-factor-0-i-score" type="checkbox" /&gt;
&lt;input name="sec[grp-31][factor][0][i_score]" value="4" id="edit-sec-grp-31-factor-0-i-score" type="checkbox" /&gt;
</code></pre>

<p>I'm trying to execute a function baased on whether the checkbox is checked.  As the input fields are created dynamically, I wanted to check for inputs with names that end with "[i_score]".  I tried to do so using:</p>

<pre><code>$("input[name$=i-score]]")...
</code></pre>

<p>But, it doesn't appear to "find" that... Is there a way to do this?</p>
