Below code explains chaining in Jquery. Chaining means specifying multiple selectors/functions to an element in Jquery.
<script>
$(document).ready(function(){
$('#mydiv').css('color', 'blue');
$('#mydiv').addClass('myclass');
$('#mydiv').fadeIn('fast');
}
</script>
In the above example, we are setting different functionalities to a 'divison'.