function ajax() { $.ajax({ url: 'init.php', method: 'POST', data: $(this).serialize()+'&src='+event.originalEvent.explicitOriginalTarget.name, success: function(data) { $('#div').html(data); }, }); }