Closed
Bug 299316
Opened 18 years ago
Closed 18 years ago
Form layouts modified with Javascript don't submit data in DOM order
Categories
(Toolkit :: Form Manager, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 204784
People
(Reporter: keithjclark, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Not sure if this is a bug but... If a form is modified using Javascript to swap or add elements the resulting form data is transmitted in element creation order, not in the DOM order. The bug can be fixed in script by using form.cloneNode(true) and then replacing the form in question with the new cloned version. Reproducible: Always Steps to Reproduce: 1. Create a form using the DOM in javascript 2. Swap two elements using javascript 3. Submit the form Actual Results: form data was received in an unexpected order. Expected Results: Form data should (i think) arrive in the same order as the DOM elements.
*** This bug has been marked as a duplicate of 204784 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•15 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•