JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css">
<form action="http://www.postbin.org/waxuf9" method="POST"     id="edit_user_form">
    <input type="submit" value="Save"        name="save"     id="submit"/><br />
    <input type="button" value="Cancel"      name="cancel"     id="cancel"/><br />       
    <input type="button" value="Delete User" name="delete_btn" id="delete_btn"/>
</form>

JavaScript

document.forms[0].submit();