Closed Bug 105399 Opened 24 years ago Closed 24 years ago

simple button does submit()

Categories

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

x86
Windows NT
defect
Not set
critical

Tracking

()

VERIFIED DUPLICATE of bug 97829

People

(Reporter: qeldroma, Assigned: rods)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) BuildID: I'm using buttons with onclick-javascript-events. But <button> does submit the form, without beeing advised to. although, the onclicked javascript-function is without content, it submits, when clicked. Another thing: Mozilla 0.9.4/0.9.5 are changing QueryStrings. I've got a page, which calls itself with attached QueryString-Variables but one or two of them get lost, although the Url is smaller than 255 chars. Over and above, the sequence of the QueryString was changed after the reload?! Reproducible: Always Steps to Reproduce: 1. click the <button> without content (first bug) 2. reload the page by location.href (second bug) 3.
How do you write your button ? If you don't specify any type for a button, HTML 4 recommendation says that the type is "submit" by default. Can you provide a testcase for the second problem ? (Just a little comment, next time you report a bug, please fill separates bugs for separates issues, thanks)
*** This bug has been marked as a duplicate of 97829 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
First prolem is a dupe, as was said, and second problem might be a duplicate of 104097...
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.