JQuery

Event object-event.type

Event object-event.type, someone asked me to explain?

description:

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

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


Post your comments / questions