jQuery: Uncheck JavaScript generated page elements
<p>I'm having trouble manipulating JavaScript generated html elements. Depending on user input - a list of checkboxes gets generated via JavaScript, which the user can then uncheck with one click. Here's the generated code:</p>

<pre><code>&lt;ul&gt;
  &lt;li&gt;&lt;input name="fruit" id="apple" type="checkbox" checked="checked"&gt;&lt;/li&gt;
  &lt;li&gt;&lt;input name="fruit" id="orange" type="checkbox" checked="checked"&gt;&lt;/li&gt;
  &lt;li&gt;&lt;input name="fruit" id="mango" type="checkbox" checked="checked"&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>To clear everything out I have,</p>

<pre><code>&lt;a id="clear" href="#"&gt;Clear Fruit&lt;/a&gt;
</code></pre>

<p>I tried going off the name attribute but it looks like jQuery can't see the generated elements after the fact. What's the best way to grab the list and go through the items to uncheck the boxes?</p>
