Skip to main content

Bug Tracker

Side navigation

#13358 closed bug (duplicate)

Opened January 31, 2013 01:06PM UTC

Closed January 31, 2013 01:24PM UTC

Checkbox attr checked

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

I did a test in my application and some features are not working on checkbox, see my log below firebug:

>>> $("#lol");

Object[input#lol] /* Ok, my checkbox */

>>> $("#lol").attr('checked');

undefined

[Checked in browser]

>>> $("#lol").attr('checked');

undefined

>>> $("#lol").attr('checked', 'checked');

Object[input#lol]

>>> $("#lol").removeAttr('checked');

Object[input#lol] /* Works */

>>> $("#lol").attr('checked', '');

Object[input#lol]

>>> $("#lol").attr('checked', null);

Object[input#lol] /* Works */

>>> $("#lol").attr('checked', true);

Object[input#lol]

Attachments (0)
Change History (1)

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

resolution: → duplicate
status: newclosed

Duplicate of #13245.