Closed
Bug 281193
Opened 20 years ago
Closed 20 years ago
Forms and JavaScript: name="submit" and submit() clash
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: gunar.werner, Unassigned)
Details
Attachments
(1 file)
434 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0 If a form contains an input field named "submit" like "<input type=hidden name=submit value=submit>", the JavaScript command "document.forms(0).submit();" raises the error "document.forms.0.submit is not a function". Reproducible: Always Steps to Reproduce: execute JavaScript submit() command Actual Results: Nothing on the page - the JavaScript Console displays the error "document.forms.XXX.submit is not a function" Expected Results: Form should be submitted The bug was tested under Firefox 1.0 and Netscape 7.1. Bugs #178909 und #223791 could be caused by or related to this problem but it's uncertain for poor description.
Updated•20 years ago
|
Assignee: general → general
Component: JavaScript Engine → DOM: Level 0
QA Contact: pschwartau → ian
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 72156 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•20 years ago
|
||
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•