Skip to main content

Bug Tracker

Side navigation

#9790 closed bug (worksforme)

Opened July 09, 2011 02:46PM UTC

Closed July 09, 2011 03:56PM UTC

Bug

Reported by: yehang1987@foxmail.com Owned by:
Priority: low Milestone: 1.next
Component: attributes Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
Description

I am chinese,my english is very bad,sorry.

JQ 1.6.2 bug ?? :

<script>

function fn1(){

$("#a").attr("disabled","disabled");

}

function fn2(){

$("#a").removeAttr("disabled");

}

</script>

<input type="text" id="a" value="test" / >

<input type="button" value="attr" onClick="fn1()" />

<input type="button" value="removeattr" onClick="fn2()" />

Attachments (0)
Change History (1)

Changed July 09, 2011 03:56PM UTC by timmywil comment:1

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

See the docs for http://api.jquery.com/prop. jQuery 1.6 did have a change in behavior, but jQuery 1.6.1+ works fine. http://jsfiddle.net/timmywil/JvjvB/