$('a').click(function (event) {