In JavaScript define varaible which is global for this page, name it
like page_submited, by default set it to false. On submit event set
this variable to true and then from JavaScript submit form. When user
second time will try to submit the form do nothig, just leave function
code. Your
Hi there,
I would like to upload files using a form.
Unfortunatelly it takes a while till the file is uploaded to the server.
During this time the same page with the submit button is viewed. If the user
clicks another time on the submit button, I get wrong records and sometimes
the same file
2 matches
Mail list logo