Merge pull request #2018 from itxchy/patch-5

In the 9th jQuery challenge, I changed "#button" to "button" in the example to target all buttons.
This commit is contained in:
Berkeley Martinez
2015-08-24 23:22:27 -07:00

View File

@ -415,7 +415,7 @@
"You can also change the non-CSS properties of HTML elements with jQuery. For example, you can disable buttons.",
"When you disable a button, it will become grayed-out and can no longer be clicked.",
"jQuery has a function called <code>.prop()</code> that allows you to adjust the properties of elements.",
"Here's how you would disable all buttons: <code>$('#button').prop('disabled', true);</code>",
"Here's how you would disable all buttons: <code>$(\"button\").prop(\"disabled\", true);</code>",
"Disable only the <code>target1</code> button."
],
"tests": [