We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 483e237 commit 3b3aa41Copy full SHA for 3b3aa41
page/events/event-basics.md
@@ -42,7 +42,7 @@ $( document ).ready(function(){
42
// Now create a new button element with the alert class. This button
43
// was created after the click listeners were applied above, so it
44
// will not have the same click behavior as its peers
45
- $( "button" ).addClass( "alert" ).appendTo( document.body );
+ $( "<button>" ).text( "Alert!" ).addClass( "alert" ).appendTo( document.body );
46
});
47
```
48
0 commit comments