0
I have an "Export" button that sends the form data via Post. I need that this data can be sent several times without updating the page, but the browser is blocking more than one "Submit" of this form. How can I fix this?
0
I have an "Export" button that sends the form data via Post. I need that this data can be sent several times without updating the page, but the browser is blocking more than one "Submit" of this form. How can I fix this?
Browser other questions tagged javascript post submit-form
You are not signed in. Login or sign up in order to post.
When you give Ubmit the browser will redirect to the destination location and when back, the form appears deleted again. What you need is a button that simulate and send the fields via Ajax, preferably through the use of Jquery.
– C. Bohok
Via ajax will not work in my case...
– Júlia Larissa Schultz
Allow me to disagree, I think it would work. But if you don’t want to use Ajax, you’ll need to actually submit the page and reload it after that. What can be done then is to take advantage of the data you have already sent and return the page with the inputs already filled with the last values sent. That is, the page "sends the data to itself", saving each submission, thus allowing you to change only what is necessary in the next submission.
– C. Bohok