On Monday, July 17, 2006, at 9:50 AM, magic wrote:>Hi all. Trying to figure out the best way to implement a drop-down
>text-entry box.
>
>Users will select a payment method from a select menu. If they click
>credit card, a text box drops down to allow them to enter a cc number.
>if they pick another option, they''re routed elsewhere when they
submit
>the form.
>
>Ajax? Java? other ideas?
>
>--
>Posted via http://www.ruby-forum.com/.
>_______________________________________________
>Rails mailing list
>Rails@lists.rubyonrails.org
>http://lists.rubyonrails.org/mailman/listinfo/rails
Yeah, AJAX can help here. Check this out for a simple way to implement it.
http://www.sciwerks.com/blog/2006/07/07/updating-select-controls-with-ajax/
_Kevin
www.sciwerks.com
--
Posted with http://DevLists.com. Sign up and save your mailbox.