Ruby on Rails Thursday, March 31, 2011

Hey guys,

i've the following question:
how can i parse the value of a selectbox within a div-tag (with the id
"ma") via AJAX and use the parsed value for reading out some data from
my database. the parsing request should be started by selecting another
selectbox.

My mainquestion is: how can i parse a selectbox (if possible with rjs)
an get the value in ruby (not just in javascript) for further actions
(like reading out some data from database)?

thank you for your response!

Tobe

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment