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); }); 
  • What would you like? - andreyqin

1 answer 1

 $('#saveEdit').trigger('click'); 

Learn to use Google.