You should be able to do `$(event.target).data('page')` since all `data-*` attributes are parsed by jQuery.