I know I can get the event, by passing it as a parameter of the function:
$(".selector").on("click", function(event) {
});
How can I get it if it is not a parameter of the function?
For instance,
$(".selector").on("click", function() {
// var event = ???
});