Event.observe('id-of-link-to-send-form', 'click', function(event){
form ajax here.
;});