Closed Bug 210655 Opened 21 years ago Closed 21 years ago

mouse events fail to call a js function from inside FORM

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: mstrumyla, Assigned: saari)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030612 consider the following html: <head> <script type="text/javascript"> function reset() { alert('reset function'); } </script> </head> <body> <form> <a href="#" onClick="reset()">A not working</a> <div onClick="reset()">DIV not working</div> </form> </body> Reproducible: Always Steps to Reproduce: try clicking on the link and DIV. Actual Results: nothing happens Expected Results: message box is displayed
Attached file tescase
Attached file testcase
changing the name from *reset* to anything else fixes the problem.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: