The question may seem strange. But on a particular page I would like to make a submit
, like a form, when clicking a button, but without the presence of the form in HTML.
Is there any way to simulate submitting a form, without it being on the page?
Example:
<!-- Faz um paranauê para submeter a página via post sem formulário -->
<button id="submit"></button>
Note : I do not need a form fill, or anything. I just need that, when the button is clicked, a form submission is sent (POST method). And it's not an ajax request.