Closed Bug 199111 Opened 22 years ago Closed 22 years ago

submit button doesn't work

Categories

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

x86
All
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 192170

People

(Reporter: wamb4060, Assigned: john)

References

()

Details

(Keywords: regression)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030301 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030301 I found 2 buttons on the www that didn't work :). My brother uses hotmail and when he wants do download a file from hotmail, you can press a downloadbutton. It doesn't work, therfore he uses explorer... I haven't the text from that, except if you want it, but there is an other button that also doesn't work. I've mentioanned the url above. I've choosen "home, personal,..." and second "digital camera(point-and-shoot)", but I think nothing will work. The "continue"-button doesn't work. The page is written in javascript. I'm not an expert in javascript, but when you click document.f2 is submitted, but maybe it isn't the right one...There is also somewhere a test on explorer, but better take a lokk yourself.. Reproducible: Always Steps to Reproduce: 1.see text 2. 3. Actual Results: nothing that's the point :)
Agree that the button on the Kodak site doesn't work. Could you give the bug a better description? Also, seems to be similar to bug 183516
confirming. The button works just fine on NS7.02.
changing summary. Several resemblant bugs of late; bug 199189, bug 199158
Summary: button doesn't work → submit button doesn't work
Confirming bug with Mozilla trunk binary 2003032308 on WinNT. Reassigning to Form Submission and jkeiser. OS: Linux ---> All. The Kodak site document.writes the submission form: document.write('<TR><TD>&nbsp;</TD><TD><FORM NAME="f2" METHOD="POST" ACTION="/cgi-bin/global/en/service/contact/feedback.cgi?conf=/global/include/en/service/contact/contact.conf" onSubmit="return false;">'); which contains the "Continue" button: document.write('<INPUT TYPE=SUBMIT VALUE="Continue" onClick="handleSubmit();">'); and the handleSubmit() function is defined as follows: function handleSubmit() { if (document.f1.m1.selectedIndex == 0) alert("Please make a selection in the first menu."); else if (document.f2.subject.selectedIndex == 0) alert("Please make a selection in the second menu."); else document.f2.submit(); } I checked in the JavaScript Debugger that Mozilla does reach the line |document.f2.submit();|, but nothing happens when the line is executed. No errors appear in the JavaScript Console -
Assignee: asa → jkeiser
Status: UNCONFIRMED → NEW
Component: Browser-General → Form Submission
Ever confirmed: true
OS: Linux → All
QA Contact: asa → vladimire
this regressed between linux trunk builds 2002051321 and 2002051507, indicating the culprit is bug 144534
Keywords: regression
*** This bug has been marked as a duplicate of 192170 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified Duplicate - onSubmit="return false;"
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.