$('.page').on('click', function () { var $this = $(this) $this.addClass('paging') })