Hi!
I need to create a combobox which , depending on the selected value, will display different items whithout reloading the page
<%= select("product","choice", Pricebooks.find(:all).collect { |p| [p.name,p.id]}, {:selected => Pricebooks.find(:first)} , {onchange => ???)%>
How can i retrieve the value of the selected product through onchange?
is this entirely client side or do you want to make an ajax request ?
Fred