When I started learning jQuery I didn´t know anything about that it's a Framework of JavaScript and, in general, I didn't know anything about JavaScript. Now I'm trying to learn how works jQuery in respect to JavaScript, but I can't understand part of jQuery syntax.
$('#element').keypress(function(z) {
})
On the previous jQuery event there is a anonymous function —I think that it's a anonymous function. Correct me if I'm wrong please. In this function there's a parameter 'z' that we can use inside this event to know which key was pressed with .which property. So my questions are:
What is this parameter of the function? Why this parameter has relation with the .keypress event?