Hi javascript developers,
Is there a way to reduce the boilerplate required to define a function in jquery?
(My example is with a callback but it could apply to any anon function.)
$('#dialog').load('/index.cgi',{p:'myform'}, function(){ ajaxify_form() });
What I would like is to do
$('#dialog').load('/index.cgi',{p:'myform'}, $.f(){ ajaxify_form() });
Thanks in advance.