Skip to content

Commit 90e9d11

Browse files
committed
Close gh-265. Clarify instructions in .removeAttr() example.
1 parent 3c75988 commit 90e9d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/removeAttr.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ console.log("onclick property: ", $element[0].onclick);
1717
</code></pre>
1818
</longdesc>
1919
<example>
20-
<desc>Clicking the button enables the input next to it.</desc>
20+
<desc>Clicking the button changes the title of the input next to it. Move the mouse pointer over the text input to see the effect of adding and removing the title attribute.</desc>
2121
<code><![CDATA[
2222
(function() {
2323
var inputTitle = $("input").attr("title");
@@ -34,7 +34,7 @@ console.log("onclick property: ", $element[0].onclick);
3434
});
3535
})();
3636
]]></code>
37-
<html><![CDATA[<button>Enable</button>
37+
<html><![CDATA[<button>Change title</button>
3838
<input type="text" title="hello there" />
3939
<div id="log"></div>
4040
]]></html>

0 commit comments

Comments
 (0)