Skip to main content

Bug Tracker

Side navigation

#13245 closed bug (notabug)

Opened January 17, 2013 09:08AM UTC

Closed January 17, 2013 02:31PM UTC

Last modified June 17, 2014 02:27PM UTC

Checkbox checked state behaviour diff after upgrade to 1.9

Reported by: vitaliykhamin@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

Hello!

I see the difference between 1.9 and 1.8.x in case of multiple clicks on first checkbox here: http://jsfiddle.net/zKs8S/

Sorry if dup :)

Attachments (0)
Change History (28)

Changed January 17, 2013 02:31PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

Use .prop() to get or set the dynamic, changing, visual state of a checkbox.

http://jquery.com/upgrade-guide/1.9/#attr-versus-prop-

Changed January 27, 2013 05:37PM UTC by dmethvin comment:2

#13334 is a duplicate of this ticket.

Changed January 31, 2013 01:24PM UTC by dmethvin comment:3

#13358 is a duplicate of this ticket.

Changed January 31, 2013 01:24PM UTC by dmethvin comment:4

#13345 is a duplicate of this ticket.

Changed February 01, 2013 01:46PM UTC by gibson042 comment:5

#13369 is a duplicate of this ticket.

Changed February 14, 2013 01:40PM UTC by dmethvin comment:6

#13454 is a duplicate of this ticket.

Changed February 23, 2013 01:49PM UTC by gibson042 comment:7

#13500 is a duplicate of this ticket.

Changed February 26, 2013 02:17AM UTC by timmywil comment:8

#13519 is a duplicate of this ticket.

Changed March 06, 2013 12:34PM UTC by gibson042 comment:9

#13573 is a duplicate of this ticket.

Changed April 28, 2013 04:27PM UTC by dmethvin comment:10

#13833 is a duplicate of this ticket.

Changed May 01, 2013 02:06PM UTC by timmywil comment:11

#13845 is a duplicate of this ticket.

Changed May 07, 2013 03:01PM UTC by timmywil comment:12

#13863 is a duplicate of this ticket.

Changed May 10, 2013 03:31PM UTC by timmywil comment:13

#13876 is a duplicate of this ticket.

Changed May 15, 2013 01:26PM UTC by timmywil comment:14

#13895 is a duplicate of this ticket.

Changed May 22, 2013 01:51PM UTC by m_gol comment:15

#13920 is a duplicate of this ticket.

Changed May 28, 2013 11:15PM UTC by dmethvin comment:16

#13958 is a duplicate of this ticket.

Changed June 02, 2013 05:57PM UTC by dmethvin comment:17

#13979 is a duplicate of this ticket.

Changed July 08, 2013 02:07PM UTC by timmywil comment:18

#14112 is a duplicate of this ticket.

Changed October 11, 2013 01:02PM UTC by gibson042 comment:19

#14437 is a duplicate of this ticket.

Changed November 06, 2013 02:16PM UTC by gibson042 comment:20

#14518 is a duplicate of this ticket.

Changed November 10, 2013 07:09PM UTC by dmethvin comment:21

#14501 is a duplicate of this ticket.

Changed November 13, 2013 10:11PM UTC by dmethvin comment:22

#14539 is a duplicate of this ticket.

Changed November 28, 2013 08:40AM UTC by m_gol comment:23

#14571 is a duplicate of this ticket.

Changed December 04, 2013 08:20PM UTC by timmywil comment:24

#14602 is a duplicate of this ticket.

Changed December 11, 2013 08:03PM UTC by gustavorafael93@gmail.com comment:25

HTML:

<div id="sample">
    <input type="checkbox"> 
    <input type="checkbox"> 
    <input type="checkbox">
<div>
<input id="checkAll" type="checkbox">

JQuery


$("#checkAll").click(function() {
    
    var checked = $(this).is(":checked");
    
    // hack
    $("div#sample input[type=checkbox]").each(function() {
        $(this)[0].checked = checked;
    });
    
});

Changed December 23, 2013 04:07PM UTC by dmethvin comment:26

#14651 is a duplicate of this ticket.

Changed February 18, 2014 04:53PM UTC by timmywil comment:27

#14774 is a duplicate of this ticket.

Changed June 17, 2014 02:27PM UTC by timmywil comment:28

#15152 is a duplicate of this ticket.