V
Vincent M.
Hello,
I have a form which allow to submit a file, I'd like to block the submit
buton once it has been clicked, so I tried:
function SubmitNow(item){
if(item.value=="Please wait") {
return false ;
} else {
item.value="Please wait" ;
item.form.submit ;
}
}
With inside the submit buton:
<input class=submit type=submit value=Valid name=submitbtn
onClick="SubmitNow(this);">
But it does not work We can send several times the same file...
Any idea ?
Thanks,
Vincent.
I have a form which allow to submit a file, I'd like to block the submit
buton once it has been clicked, so I tried:
function SubmitNow(item){
if(item.value=="Please wait") {
return false ;
} else {
item.value="Please wait" ;
item.form.submit ;
}
}
With inside the submit buton:
<input class=submit type=submit value=Valid name=submitbtn
onClick="SubmitNow(this);">
But it does not work We can send several times the same file...
Any idea ?
Thanks,
Vincent.