In jQuery, you can chain together multiple methods (actions), allowing multiple actions to run on the same element(s), within a single statement.

The following chains together three methods to apply to the element with and id of #intro.


					
				

To make it more easily readable, it could also be written like this:


					
				

Note
jQuery ignores extra whitespace and executes the lines above as one long line of code.