Dropdownbox

Hi,

I am new to rubyonrails…i created one dropdownbox(select tag)
I created database with tablename(products).it
contains(id,title,price,gender).I can load all title into the
dropdwonbox.suppose if i select any title means i should display
the corresponding price value…what can i do for that…

Plzzzzz reply

On 24 December 2010 09:12, Saravanan R. [email protected] wrote:

Hi,

I am new to rubyonrails…i created one dropdownbox(select tag)
I created database with tablename(products).it
contains(id,title,price,gender).I can load all title into the
dropdwonbox.suppose if i select any title means i should display
the corresponding price value…what can i do for that…

Do you mean that when the user makes a selection from the select drop
down the price is immediately shown on the page? If so then you will
need to use javascript for that.

Colin