Greetings,
This is for SharePoint Server 2016.
There have been posts that allege to address this, but they are way more complicated than I need. I created a button (input class="bigRedButton" onclick="startMyWorkflow()" type="Button"). I have a simple site workflow that does stuff. I need a javascript function that, when a user presses the big, red button, will start the workflow. That's all. Please do not include functions that are designed to work in SharePoint Online, because they won't work on prem.