new Ajax.Request + :complete => + javascript

Hello friends Action i am making a ajax request from a javascript function and i want to have a spinner ::complete => “Element.hide(‘spinner’);”, But not able to insert it, Is there any one who have an idea?

Thanks Abhis