You may also use the Ajax components with the functionName binding to create Javascript bridges. This binding is available in AjaxHyperlink, AjaxUpdateLink and AjaxSubmitButton at least.