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....
}
}