Closed Bug 211489 Opened 22 years ago Closed 21 years ago

form submit object doesen't exist until you add a submit button

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 178258

People

(Reporter: peterd, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 The form submit object doesen't seem to be avaliable until you add a submit button to your <FORM></FORM> Reproducible: Always Steps to Reproduce: <form METHOD=GET ACTION=http://www.iea-software.com> <!INPUT TYPE=SUBMIT VALUE="" DISABLED> </form> <script>window.document.forms[0].submit();</SCRIPT> Actual Results: Blank page Expected Results: Browser should be redirected to http://wwww.iea-software.com If you remove the '!' ..it works with mozilla. This works with Netscape 4.x and IE browsers.
Nothing to do with the JS engine.
Assignee: rogerl → form-submission
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → Form Submission
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: pschwartau → ashishbhatt
Hardware: PC → All
*** This bug has been marked as a duplicate of 178258 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.