Hai frnds,
I hav two select boxes.1st selectbox for selecting the "state" and
the 2nd selectbox will be populated with the "districts" based on the
1st select box value.I want to show some details according to the
district selected.
I am able to do these things.But i want to get both the id of 1st and
2nd select box in the action "show_readings_for_station".Can i pass two
ids with periodically_call_remote?
my code
........
<%= periodically_call_remote(:url => { :action=>
"show_readings_for_station" }, :frequency => 5,
:with=>"'district_id='+document.getElementById('_district_id').value")%>
"_district_id" is the id of 2nd select box. "_state_id" is the id of 1st
select box.
Thanks,
Veena
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.