Skip to main content

Bug Tracker

Side navigation

#9543 closed bug (duplicate)

Opened June 07, 2011 07:51PM UTC

Closed June 07, 2011 08:41PM UTC

Last modified June 07, 2011 08:41PM UTC

prop and removeProp not properly worked in chrome 10.0.648.204

Reported by: Karsten <carsonng2000@gmail.com> 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.

Attachments (0)
Change History (6)

Changed June 07, 2011 07:59PM UTC by Karsten <carsonng2000@gmail.com> comment:1

here is the demo:

http://jsfiddle.net/7PUGQ/6/

Changed June 07, 2011 08:24PM UTC by rwaldron comment:2

component: unfiled → attributes

Confirmed

Changed June 07, 2011 08:34PM UTC by timmywil comment:3

priority: undecided → low
resolution: → invalid
status: new → closed

Please do not remove native properties. Set them to false instead.

Changed June 07, 2011 08:41PM UTC by timmywil comment:4

resolution: invalid
status: closed → reopened

Changed June 07, 2011 08:41PM UTC by timmywil comment:5

resolution: → duplicate
status: reopened → closed

Changed June 07, 2011 08:41PM UTC by timmywil comment:6

Duplicate of #9140.