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


Karthik.k
Mobile - +91-9894991640

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

On Mon, Aug 10, 2009 at 12:36 PM, nirosh [email protected]
wrote:

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


Karthik.k
Mobile - +91-9894991640

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs