Submit_to_remote in _form.rhtml

hi all,
i have created one booking.rhtml in my requesition model and used
scaffold to generate other .rhtml files.
in booking.rhtml the submit_to_remote is working fine but in _form.rhtml
it is not working…
i tried to print some text for that ajax action. i think not even the
control goes to the controller…
my code is…

in _form.rhtml


<%= text_field 'requesition', 'patient_code' %> <%= submit_to_remote "getPatientDetail", "Update Info", :update => 'patient_biodata', :url => { :controller => 'requesition', :action => "get_patient_details" } %>

XXX

in controller


def get_patient_details
render :text => “Patient Details here…”
end

if any know, guide me…

Hi use breakpoint like this
def get_patient_details
breakpoint
render :text => “Patient Details here…”
end

and in the console write in the directory
ruby script\breakpointer
then you can know whether its coming to controller or not by running and
then checking the console