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)
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
Reporter | ||
Comment 1•21 years ago
|
||
Reporter | ||
Comment 2•21 years ago
|
||
Reporter | ||
Comment 3•21 years ago
|
||
changing the name from *reset* to anything else fixes the problem.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•