you need to do that in javascript, I don't think any part of Rails does that 
for you.

check out 
http://www.sanwebe.com/2013/05/select-box-change-dependent-options-dynamically

for a good explanation

there may be a rails gem or plugin that can help you, but I do not know of what 
specifically for that purpose. 


On Oct 8, 2014, at 9:40 AM, [email protected] wrote:

> There is a form in it to be a field for entering regions(<select>)
> On the basis of them should show the cities of these regions in the field 
> below(<select>)
> 
> I think it ajax
> But I'm not experienced this
> Can you recommend what to read for it or (halpers rails for this task)
> 
> P.S Thanks for wathing
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/48d47daf-b97c-403f-8618-a09c01758059%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

----

Jason Fleetwood-Boldt
[email protected]
http://www.jasonfleetwoodboldt.com/writing

All material © Jason Fleetwood-Boldt 2014. Public conversations may be turned 
into blog posts (original poster information will be made anonymous). Email 
[email protected] with questions/concerns about this.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5CA9EBAC-FF06-4999-A41D-70BD1AFE2F4B%40datatravels.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to