how to select a certain clone of lists using jquery?
<p>How to select a certain clone of list using jquery?</p>

<pre><code> &lt;ul id=testList&gt;
      &lt;li&gt;&lt;input type=checkbox" /&gt;&lt;p&gt; Test A &lt;/p&gt;&lt;/li&gt;
      &lt;li&gt;&lt;input type=checkbox" /&gt;&lt;p&gt; Test B &lt;/p&gt;&lt;/li&gt;
      &lt;li&gt;&lt;input type=checkbox" /&gt;&lt;p&gt; Test C &lt;/p&gt;&lt;/li&gt;
      &lt;li&gt;&lt;input type=checkbox" /&gt;&lt;p&gt; Test D &lt;/p&gt;&lt;/li&gt;
      &lt;li&gt;&lt;input type=checkbox" /&gt;&lt;p&gt; Test E &lt;/p&gt;&lt;/li&gt;
 &lt;/ul&gt;

     var $cloneList = $("#testList").clone();

     $cloneList.find("li input:checked")each(function()
     {
          alert($(this.outerHTML);
     });
</code></pre>

<p>The output I'm trying to accomplish with this jquery code above is listed below by only selecting the checkboxs that has been selected and remove input tags:</p>

<pre><code>    &lt;li&gt;&lt;p&gt; Test E &lt;/p&gt;&lt;/li&gt;
</code></pre>
