So I want to have a form with a drop down that lists all our customers. And when a user selects a customer, I want it to automatically list the customer names emails below the drop down. Anyone have any thoughts as the best approach to do this? I could just write javascript, but it seems like there would be a rails tag for this. thanks, phil -- Posted via http://www.ruby-forum.com/.
On 1/2/06, phil swenson <phil.swenson@gmail.com> wrote:> So I want to have a form with a drop down that lists all our customers. > And when a user selects a customer, I want it to automatically list the > customer names emails below the drop down. > > Anyone have any thoughts as the best approach to do this? I could just > write javascript, but it seems like there would be a rails tag for this.You need to use AJAX. You might find this useful. http://www.roryhansen.ca/?p=9 Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century