#9543 closed bug (duplicate)
prop and removeProp not properly worked in chrome 10.0.648.204
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | attributes | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I use a checkbox to trigger it simply like this:
if (jQuery('.checkbox').is(':checked')){ jQuery(".selectbox").removeProp('disabled'); }else{ jQuery(".selectbox").prop('disabled','disabled'); }
In firefox, it triggers perfectly. In chrome 10.0.648.204, it can trigger at the first time (enable then disable), but then it cannot trigger any more.
Change History (6)
comment:1 Changed 12 years ago by
comment:3 Changed 12 years ago by
Priority: | undecided → low |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Please do not remove native properties. Set them to false instead.
comment:4 Changed 12 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:5 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
here is the demo: http://jsfiddle.net/7PUGQ/6/