I have list generated by ajax call like this
<ul id="list">
<li name="A">some val</li>
<li name="B">some val</li>
<li name="C">some val</li>
</ul>
with a setinterval, the same ajax call will create a list like this
<ul id="listClone">
<li name="A">some new val</li>
<li name="B">some cccc val</li>
<li name="C">some ddd val</li>
</ul>
after I get the listClone, I need to replace the list "A" with listClone A.
How do I do that with jQuery?