Side navigation
#11888 closed bug (cantfix)
Opened June 10, 2012 05:41PM UTC
Closed July 12, 2012 01:20AM UTC
checkbox remove "checked" dont work in chrome 20
Reported by: | evilmoe@bossmail.de | Owned by: | evilmoe@bossmail.de |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I use this code:
$('input:checkbox[name=select_all]').click(function(){ status = $(this).prop("checked"); $('input[name^=selector]').each(function () { //alert(status); if(status) //$(this).prop("checked", status); this.checked = true; else this.checked = false; }); });
This code work in FF but not in Chrome 20. When i use the "prop" i have the same problem.
Attachments (0)
Change History (7)
Changed June 10, 2012 06:09PM UTC by comment:1
owner: | → evilmoe@bossmail.de |
---|---|
status: | new → pending |
Changed June 10, 2012 07:08PM UTC by comment:2
Here: http://jsfiddle.net/FrKyN/362/
Dont work in Chrome 20 but in FF.
Changed June 10, 2012 07:08PM UTC by comment:3
Replying to [comment:1 rwaldron]:
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket! Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/
Changed June 16, 2012 12:12PM UTC by comment:4
When it will be fixed?
Changed June 16, 2012 02:31PM UTC by comment:5
status: | pending → open |
---|
I can repro on Chrome 19, I tried to simplify it a bit but it went away. Since it only happens on Chrome you should report it there. We will need to triage the bug, so we can't answer the "when".
Changed June 22, 2012 10:28AM UTC by comment:6
I did a workaround for this: http://jsfiddle.net/FrKyN/379/
I hope it will be fixed soon. I dont know why it doesnt works with a variable.
Changed July 12, 2012 01:20AM UTC by comment:7
resolution: | → cantfix |
---|---|
status: | open → closed |
This is a bug with Chrome. http://jsfiddle.net/FrKyN/362/
Something is special about the global status
variable. It's no jQuery. Report this to Chrome.
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!
Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/