Closed
Bug 288289
Opened 20 years ago
Closed 20 years ago
Form submitted through wrong button element
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: philip, Assigned: bugzilla)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.40607) Build Identifier: When developing sites i notice that sometimes a <button> element in a form can submit a form even when there is a <input type="submit"> element available. Reproducible: Always
Comment 1•20 years ago
|
||
Duplicate of an invalid bug, the default type for a button is submit: http://www.w3.org/TR/html4/interact/forms.html#edef-BUTTON add type="button" to it if you dont want it to submit the form *** This bug has been marked as a duplicate of 97829 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•