Modify ↓
Ticket #9543 (closed bug: duplicate)
prop and removeProp not properly worked in chrome 10.0.648.204
| Reported by: | Karsten <carsonng2000@…> | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | attributes | Version: | 1.6.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
comment:3 Changed 2 years ago by timmywil
- Priority changed from undecided to low
- Status changed from new to closed
- Resolution set to invalid
Please do not remove native properties. Set them to false instead.
comment:4 Changed 2 years ago by timmywil
- Status changed from closed to reopened
- Resolution invalid deleted
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

here is the demo: http://jsfiddle.net/7PUGQ/6/