Bug Tracker

Modify

Ticket #9177 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

attr('checked') dont return true

Reported by: sven.bloch@… Owned by:
Priority: low Milestone: 1.next
Component: attributes Version: 1.6
Keywords: Cc:
Blocking: Blocked by:

Description

Hey,

in v1.5.1 ('#checkbox').attr('checked') returned true when the checkboy is checkd. In 1.6 i get "checked" as return. I think thats not correct.

Change History

comment:1 Changed 2 years ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to attributes

That is correct. The ambiguity between properties and attributes has been removed in 1.6. See the new  http://api.jquery.com/prop method and the  blog post for more information.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.