How to find and remove attirbutes in cloned item using jquery?
<p>I trying to clone a div content with below code.</p>

<pre><code>var clonedItem = $("#cloneableSchoolTab").clone();
clonedItem.find(".clonableSchool").addClass("clonedSchoolTab" + schoolTabCount );
$("#clonedSchoolTabsContainer").append(clonedItem);
</code></pre>

<p>First line gets the whole target item. But, the excecution of second line, the value of <code>clonedItem</code> changed as empty array. I dont know. If i merge the first 2 line, the reasult was same as the  above code.</p>

<p><strong>HTML Code:</strong></p>

<pre><code>&lt;div id="cloneableSchoolTab" class="schoolInput"&gt;
&lt;input type="text" id="schName"/&gt;
&lt;input type="text" id="schDes"/&gt;
&lt;/div&gt;
</code></pre>

<p>Any help would be appreciative.</p>

<p>Thanks in advance</p>
