Skip to main content

Bug Tracker

Side navigation

#10034 closed bug (duplicate)

Opened August 12, 2011 02:29AM UTC

Closed August 12, 2011 01:36PM UTC

Last modified March 14, 2012 08:28AM UTC

$(":button").attr('disabled', true) can not work in 1.6.2 but 1.6.1 is ok

Reported by: dankevin2tw@hotmail.com Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

It takes log time and can't work in jquery-1.6.2.js , jquery-1.6.2.min.js

It work successfully in jquery-1.6.1.js , jquery-1.6.1.min.js

Source Code :

<script language="javascript" type="text/javascript" src="jquery-1.6.2.js"></script>

<input id="A" type="button" value="TEST1" >

<input id="B" type="button" value="TEST2" >

<div onClick="go();">Click it! </div>

<script>

function go() {

$(":button").attr('disabled', true);

$(":button").attr('disabled', false);

}

</script>

Attachments (0)
Change History (4)

Changed August 12, 2011 02:37AM UTC by anonymous comment:1

Use IE8 browser

Changed August 12, 2011 05:32AM UTC by anonymous comment:2

It takes long time

Changed August 12, 2011 01:36PM UTC by timmywil comment:3

component: unfiledattributes
priority: undecidedlow
resolution: → duplicate
status: newclosed

Everything is getting set properly, but we've had reports of IE not repainting.

http://jsfiddle.net/timmywil/xWkdg/1/

Changed August 12, 2011 01:36PM UTC by timmywil comment:4

Duplicate of #9719.