There is a site with a form. Form data must be processed on the server, but when you click on the submit button, the page is updated. It is necessary to make that when you click on the button, the data is sent to the server, as well as added to the table on the site. I will write the addition of data through JS, and how to send data to the server without refreshing the page? Or is there a more elegant solution? On the Python / Flask server
submitsends the form data to the server, andbuttonis just a button, it will influence the form only when the developer himself writes functionality for it - Vasily Barbashev