Fixed JQuery -> jQuery (#25366)

pull/34399/head
Chirag Swadia 2018-11-20 10:33:28 +01:00 committed by Aditya
parent 7f690b8b3c
commit ff332b7703
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ Another filtering selector, `:contains(text)`, selects elements that have a cert
$("p:contains('World')").css("color", "yellow");
```
Similarly, the `:last` selector selects the element that is the last child of its parent. The JQuery selector below selects the last `<li>` element in the list--the "Three" list item--and then uses the `.css` method to turn the text yellow.
Similarly, the `:last` selector selects the element that is the last child of its parent. The jQuery selector below selects the last `<li>` element in the list--the "Three" list item--and then uses the `.css` method to turn the text yellow.
`$("li:last").css("color", "yellow");`