I cloned an element and nowt I want to clear all its input values. How?
Element to clone:
<div id = "clone">
<span >
<input type = "text" >
<input type = "text">
</span>
</div>
js:
new_ele = $('#clone').clone()
new_ele.find().val("") # not working
It should be like