Skip to main content

Bug Tracker

Side navigation

#11725 closed bug (invalid)

Opened May 08, 2012 02:08AM UTC

Closed May 08, 2012 03:27AM UTC

Last modified May 08, 2012 01:11PM UTC

a bug

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

when i have a "a" label like this:

<a href="" checked="false"></a>

in 1.72 version,

$("a").attr("checked") is "checked",not "false".

Attachments (0)
Change History (3)

Changed May 08, 2012 03:27AM UTC by rwaldron comment:1

resolution: → invalid
status: newclosed

checked is not a valid attribute, nor property, of anchor elements

Changed May 08, 2012 05:37AM UTC by anonymous comment:2

Replying to [comment:1 rwaldron]:

checked is not a valid attribute, nor property, of anchor elements

but when i changed my code :

<a href="" check="false"></a>

$("a").attr("check") return "false"

Changed May 08, 2012 01:11PM UTC by dmethvin comment:3

This is the "jQuery bug tracker" not the "jQuery training center". Please ask for help on a forum.