How to create dropdown box location

how to create dropdown box then linking to new page that display its
location? it seems hard 4 me(beginner). Please help me

Thanx

Something like this:

<%= select("model","field",['abc','pqr','xyz'].collect{|m|[ m ]}, options={},{:onchange =>"$('form_id').submit()"}) -%>

Found here http://railsforum.com/viewtopic.php?id=10448

heimdull wrote:

Something like this:

<%= select("model","field",['abc','pqr','xyz'].collect{|m|[ m ]}, options={},{:onchange =>"$('form_id').submit()"}) -%>

Found here http://railsforum.com/viewtopic.php?id=10448

could please be specific, im sorry
for example location lists are sydney,mackay,darwin
how can u put it?

Appreciated ur helps

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