Skip to main content

Bug Tracker

Side navigation

#9250 closed bug (duplicate)

Opened May 12, 2011 07:25AM UTC

Closed May 12, 2011 02:40PM UTC

Last modified May 12, 2011 02:40PM UTC

checkbox error

Reported by: mars.huang@live.com Owned by:
Priority: low Milestone: 1.6.1
Component: attributes Version: 1.6
Keywords: Cc:
Blocked by: Blocking:
Description

HTML:

<input type="checkbox" onclick="Check(this)"/>

Javascript:

function Check(obj)

{

test print

alert($(obj).attr("checked"));

IE 8 print ""

Firefox print "undefined"

if($(obj).attr("checked"))

{

code....

}

else

{

//code....

}

}

Attachments (0)
Change History (2)

Changed May 12, 2011 02:40PM UTC by timmywil comment:1

component: unfiledattributes
milestone: 1.next1.6.1
priority: undecidedlow
resolution: → duplicate
status: newclosed

Changed May 12, 2011 02:40PM UTC by timmywil comment:2

Duplicate of #9191.