EDITABLE CODE:
LiveDemo:jQuery - addClass() Method using function
Note: The method is used to set class to multiple elements using a single Function