NEW Bug 9715
Hiding an input=file control in a submit button's onclick handler will cause the upload to fail
https://bugs.webkit.org/show_bug.cgi?id=9715
Summary Hiding an input=file control in a submit button's onclick handler will cause ...
Eric Seidel (no email)
Reported 2006-07-03 11:42:51 PDT
If you hide a form in an onclick handler, the attached file is never actually posted to the server :( <div id="test"> <form target="iframe" enctype="multipart/form-data" method="post" action="/upload_file"> <input type="file" /> <input type="submit" onclick="document.getElementById('test').style.display='none'" /> </form> </div>
Attachments
Alexey Proskuryakov
Comment 1 2006-07-03 11:48:35 PDT
See also: bug 5196
Note You need to log in before you can comment on or make changes to this bug.