Definately, onClick this disables the Submit button within a Form and changes the caption to 'One Moment Please...' (works in IE and FireFox)
[HTML]<form enctype="multip art/form-data" action="upload. php" name="submitfor m" id="submitform " method="POST">
<b>File to Upload:</b> <input name="userfile" size="50" type="file"><br ><br>...
User Profile
Collapse
-
-
No need, I finally figured it out. Thank you very much though, this can get mighty frustrating at times. I appreciate it.Leave a comment:
-
Here, ...
If you try it in IE, the button is just disabled and it doesn't process
If you try it in FireFox, it disables it and uploads the file just fine
All I want is it for the submit button to be disabled in firefox and ie and goto the upload.php script. As far is checking the filesize, terms of agreement, all that works fine. If the user has inputed a valid file and accepted the terms of agreement,...Leave a comment:
-
Thanks for the quick reply ewish, still not working. I'm kind of new to this coding.
i found a new code of disabling the button onClick
onclick="docume nt.submitform.s ubmitbutton.dis abled=true;
document.submit form.mode.name = 'post';
document.submit form.onsubmit() ;
document.submit form.submit();"
Cool thing is is this works just fine in firefox, disables the button and then...Leave a comment:
-
Need help disabling a submit button onClick
Hello, first time posting on thescripts.com, and I'm in dire need of some help.
All I want to do is disable the submit button (not the entire form) onClick, and am wondering if this is possible.
Here's the current coding:
[CODE=HTML]<form enctype="multip art/form-data" action="?id=com pleteupload" name="submitfor m" method="POST">
<b>File to Upload:</b> <input...
No activity results to display
Show More
Leave a comment: