navigation
JQuery

Event object-event.type

| | JQuery

description:

The event type pops up alert after clicking on the anchor points.

jQuery code:
  $("a").click(function (event) {
        alert(event.type); // "click"
    });