This is just one way you can do this with the this placeholder :
linksHandler = { "moreSearchOptions":function(){ alert (this); } } $(function(){ $('.linked').click(function(){linksHandler[this.id].apply(this); return false}) }