pigmentarts
asked on
onclick this.value='Processing... now form is not submitting?
my form did work fine, but now i have added some javascript "onclick" the form no longer seems to submit, although the onclick does change the text. any ideas? thanks
<input type="Submit" name="imageUpload" value="Click to Upload" onclick="this.value='Proce ssing...'; this.disab led=true;" >
<input type="Submit" name="imageUpload" value="Click to Upload" onclick="this.value='Proce
Err no. You need to not disable the submit until the form is actually submitted
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
onclick="this.value='Proce
Or better, create a Javascript function that performs the two statements you have, and then returns true. And change the onClick like this:
onclick="return doOnClick(this);"
- Ravs