Closed
Bug 115412
Opened 23 years ago
Closed 23 years ago
onChange for checkbox fires while page is loading
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 112218
People
(Reporter: kosc, Assigned: joki)
References
()
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6) Gecko/20011120 BuildID: 2001112009 if checkbox is by marked as checked onChange event is fired on page load. here is sample: input type="checkbox" name="a" value="a" checked onChange="javascript: alert('onChange (CHECKED)');"> alert is shown on page load. Reproducible: Always Steps to Reproduce: 1.http://213.149.32.135/test/test.html 2. 3. Actual Results: after loading page, alert will show always Expected Results: onChange event shouldn't fire on page load just se the example on http://213.149.32.135/test/test.html it's simple. Hope that this is not a feature!
Updated•23 years ago
|
Summary: wrong javascript event onChange? → onChange for checkbox fires while page is loading
Comment 1•23 years ago
|
||
Confirming with Mozilla trunk binaries 20011213xx WinNT, Linux, Mac9.1. OS : Win2K ---> All. Browser, not engine. Reassigning to Event Handling.
Assignee: rogerl → joki
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Event Handling
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: pschwartau → madhur
Comment 2•23 years ago
|
||
Duplicate of '"checked" on a radio button or checkbox causes "onchange" to fire' *** This bug has been marked as a duplicate of 112218 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•22 years ago
|
QA Contact: madhur → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Updated•5 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
•