User Profile

Collapse

Profile Sidebar

Collapse
poml
poml
Last Activity: Mar 2 '08, 08:05 AM
Joined: Feb 27 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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>&nbsp;<input name="userfile" size="50" type="file"><br ><br>...
    See more | Go to post
    Last edited by acoder; Mar 2 '08, 01:33 PM. Reason: Added code tags

    Leave a comment:


  • No need, I finally figured it out. Thank you very much though, this can get mighty frustrating at times. I appreciate it.
    See more | Go to post

    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,...
    See more | Go to post

    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...
    See more | Go to post

    Leave a comment:


  • poml
    started a topic Need help disabling a submit button onClick

    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>&nbsp;<input...
    See more | Go to post
    Last edited by eWish; Feb 27 '08, 01:55 AM. Reason: Please use [CODE][/CODE] tags
No activity results to display
Show More
Working...