jQuery Command Chains
jQuery commands can be written one after another in a chain.
For example, in our HTML code we have elements with the class www:
<p class="www">text</p>
<p class="www">text</p>
<p class="www">text</p>
<p>text</p>
Let's give them the text '!!!' and highlight it in red:
$('.www').html('!!!').css('color', 'red');
The length of the chains is not limited - you can apply as many methods in a row as you need.