Hello, is there a way to access the click event inside the beforeSend of an ajaxLink?
CHtml::ajaxLink(
'message',
'url',
[
'type' => 'POST',
'dataType' => 'json',
'data' => $data,
'beforeSend'=> '$.proxy(function(jqXHR,settings){ // access to the click event that triggered the ajax }, this)',
'success' => 'function(data){ // }',
],
[
'live' => false,
]
);
Thanks a lot.