Skip to main content

Bug Tracker

Side navigation

#13813 closed bug (duplicate)

Opened April 23, 2013 03:24AM UTC

Closed April 23, 2013 04:06PM UTC

input:checkbox set checked attr error

Reported by: xiemaomao520@163.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

version: 1.7 OK

version: 1.8 OK

version: 1.9 Error

version: 2.0 Error

<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script>
$(function (){
    var checked = true;
    setInterval(function () {
        $('input').attr('checked', checked);
        checked = !checked;
    }, 1000);
});
</script>
</head>
<body>
<input type="checkbox"  value="1">
</body>
</html>
Attachments (0)
Change History (1)

Changed April 23, 2013 04:06PM UTC by timmywil comment:1

resolution: → duplicate
status: newclosed

Duplicate of #13667.