Bug Tracker

Modify

Ticket #9543 (closed bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

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:1 Changed 2 years ago by Karsten <carsonng2000@…>

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

comment:2 Changed 2 years ago by rwaldron

  • Component changed from unfiled to attributes

Confirmed

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

comment:5 Changed 2 years ago by timmywil

  • Status changed from reopened to closed
  • Resolution set to duplicate

comment:6 Changed 2 years ago by timmywil

Duplicate of #9140.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.