Just as it would if the user pushed the button:
<button id="saveEdit" class="alllist" style="float:left; margin-right:10px">Save</button> Update
You need to trigger this event without user intervention:
$(document).on("click", '#saveEdit', function(e) { e.preventDefault(); Editor.saveform(this); });