I have been using the even listeners to call functions, but is is possible to use the second parameter to do something like this.
or does it have to be a call to a function.
Second part of the question
If it is a function, can I send a variable with it. Examples would be appreciated.