Thursday, September 29, 2011

removeAttr(String)

removeAttr(String name) returns jQuery
Remove an attribute from each of the matched elements.

Example:

$("input").removeAttr("disabled")
HTML:
<input disabled="disabled"/>
Result:
<input/>

No comments:

Post a Comment