How to submit a form without a full-fledged submission?
There are three text boxes in the
tag when filling out forms, buttons from 1 to 50 are loaded with different data-id
and it is necessary that when the button is clicked, everything is transmitted by the post method to parse.php (namely the values from the inputs and the value of the clicked data-id) with the transition to parse.php, and not by loading it with ajax on the current page.
let form = <... form selector ...>
f.method = 'post'
f.action = 'parse.php'
and add all this to the button click handlerAnonymous
To place the code, please use CodePen or similar tool. Thanks you!