#167 closed bug (fixed)
attr('checked', true) doesn't work
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | |
Component: | ajax | Version: | |
Keywords: | attr, checked | Cc: | " |
Blocked by: | Blocking: |
Description (last modified by )
$("#method-download").attr('checked', true); doesn't seem to work but $("#method-download").get(0).checked = true; does.
Adding checked: "checked" to the 'fix' hash in the 'jQuery.attr' method gets it working though...
Attachments (2)
Change History (6)
Changed 16 years ago by
Attachment: | firefox.html added |
---|
comment:1 Changed 16 years ago by
Keywords: | checked added; rev249 removed |
---|---|
Milestone: | 1.0 |
Priority: | minor → major |
Version: | 1.0b1 |
Also: $('#whatever').attr('checked', false) doesn't work at all for checkboxes or radio buttons on Firefox. See attached test case. Works fine on IE.
Dunno which version to mark this under as the file doesn't say: it's dated as:
2006-08-31 13:26:31 -0400 (Thu, 31 Aug 2006)
comment:2 Changed 16 years ago by
According to Trac, there's no bug #167, so I can't attach the test case.
Let me know if you want me to forward it.
chocolateboy
comment:3 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added a testcase for this to SVN; The 'fix' hash already contains checked
comment:5 Changed 13 years ago by
Component: | → ajax |
---|---|
Description: | modified (diff) |
need: | → Review |
Priority: | → blocker |
Resolution: | → fixed |
Status: | new → closed |
Type: | → bug |
Reopened by spammer.
Firefox test case for bug #167