Fixed: issue #2014

I changed "#button" to "button" in the example to target all buttons, and I changed the single quotes to double quotes in the description for consistency.
pull/2018/head
Matt Trifilo 2015-08-18 00:43:28 -05:00
parent 495aac8233
commit 666a0a2cf3
1 changed files with 1 additions and 1 deletions

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": [