Using jQuery, how do I create a clone of a record sent to a database and apend it to a dom object?
<p>So, I have an "add item" script that creates an object in a database. Works great.</p>

<p>I'd like to, once the object is successfully saved to the database, create a clone of that object in the view that will append to the list view. It will receive the id form the DB so it can be edited, but the rest can just be cloned from the input fields.</p>

<p>Any examples of how to do this? Specifically, I need help thinking about what to trigger in success.</p>

<p>Thanks!</p>
