Question about using the event argument

Question about using the event argument

Hey guys. I trying to get more acquainted with how jQuery works with events.

One of the things that I am having a difficulty understanding, is how can I call a specific method or property of an event passed into the function.

For example, I  tried to view the timestamp of a certain event and I get a "null" in the console log

  1. $("#delivery_method").change(function(event) {
        if($(this).val()== "Pick Up") {

        console.log(event.timestamp) // Returns Null??
        }
    });




Another thing I am little confused about is the difference distinguishing between  an "event" and an "event handler" in jquery. For example in the code below

I am assuming   that the ".click(function( event )" is the event and the "alert( "Hello." ) handler?


  1.          
    $( "#helloBtn" ).click(function( event ) {
    alert( "Hello." );
    });

Thanks for your help in advance...I'm a little bit new to this and just trying to understand they fundamentals..