var foo=1 $('a').click(function(e,foo){ console.log(arguments) })