Custom “Publish” / “Update” button &

You can stimulate click to Update post button like this..
Adding submit or update button to custom metabox?

<script>
jQuery('.metabox_submit').click(function(e) {
    e.preventDefault();
    jQuery('#publish').click();
});
</script>
<input type="submit" class="metabox_submit" value="Submit" />

Leave a Comment