Closed
Bug 316182
Opened 19 years ago
Closed 14 years ago
File will not be submited when moving input parent form.appendChild(FileInput)
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bkausbk, Unassigned)
Details
Attachments
(1 file)
1.39 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051107 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051107 Firefox/1.5 It isn't possible to move an file input control to another form control. No file will be submited. (PHP Error number 4) Reproducible: Always Steps to Reproduce: var form = document.getElementById("TheForm"); var FileInput = document.getElementById("FileInput"); form.appendChild(FileInput); form.submit(); Actual Results: Nothing gets uploaded. Expected Results: File should be uploaded
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 286619 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Comment 2•19 years ago
|
||
Alright, I take that back. You don't have any addEventListeners in your code. Could you attach a testcase that displays the problem?
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Reporter | ||
Comment 3•19 years ago
|
||
You'll find a testcase at http://www.kalytta.com/testcase.316182.php I wasn't able to upload something for an unknown reason.
Reporter | ||
Comment 4•19 years ago
|
||
This is the testcase. It's a PHP file only to print_r the $_FILE array which contains the file input data.
Reporter | ||
Updated•19 years ago
|
Attachment #204882 -
Attachment mime type: text/html → text/php
Updated•19 years ago
|
Attachment #204882 -
Attachment mime type: text/php → text/html
Comment 5•14 years ago
|
||
The attachment works for me locally. If you find this bug is still present, please do reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago → 14 years ago
Resolution: --- → WORKSFORME
Updated•14 years ago
|
Assignee: general → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•