Closed
Bug 68659
Opened 24 years ago
Closed 24 years ago
If <INPUT TYPE="CheckBox"> is part of a <A HREF>, you can't check of the checkbox
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: cst, Assigned: clayton)
Details
Attachments
(1 file)
157 bytes,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.7) Gecko/20010109 BuildID: 2001010901 If you try and check of the checkbox in the following code, you will get the messagebox. In IE and NS 4.X you didn't get the message. <HTML> <HEAD> </HEAD> <BODY> <FORM> <A HREF="JavaScript:alert('Hello');"><INPUT TYPE="Checkbox" NAME="Check"> Check me</A> </FORM> </BODY> </HTML> Reproducible: Always Steps to Reproduce: 1. Check of the checkbox 2. 3. Actual Results: I got the messagebox. Expected Results: I just wanted to have the checkbox checked of.
Comment 4•24 years ago
|
||
I'd say Mozilla is doing the correct thing. Clicking on anything inside a <a> tag triggers the loading of the href attribute... not sure how this is wrong
Updated•24 years ago
|
Whiteboard: DUPEME
Comment 5•24 years ago
|
||
well, we already have a bug on this. marking duplicate. *** This bug has been marked as a duplicate of 62151 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
Comment 6•24 years ago
|
||
verf of dupe of bug 62151 (Can't check checkbox when within an...).
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in
before you can comment on or make changes to this bug.
Description
•