Doubt in submit_to_remote?

hi

i have one page

where i have check boxes , when i select one check box and click the below

<%= submit_to_remote ‘activate’, ‘Activate’, :url => {:action => ‘search_activate’} %>

below is my check box

<%= check_box_tag “agency[agencys_id][]” , agency.id%>

it is not even going to controller
in the browser it is showing null object

but the id is correct

plz help

hi you didnt pass the checkedbox value with the remote call
take a look at the "locals" usage of the submit_to_remote
hope this helps you

nirosh

Hi nirosh

Thank you

is there any links to read about this

Thanks