If all you want to pass is $(this) , you do not need a parameter, since it will be available inside a specific function.
$('#some_id').click(func1);
However, you cannot add such parameters:
$('#some_id').click(func1(param1, param2));
Then, to define a function, you simply have
function func1() { }
If you need options other than $ (this), you will need to do the following:
$('#some_id').click(function () { func1(aaa, bbb); });
Paul hoffer
source share