Using two select elements (master - slave)

Hi, I am looking for an opinion.

I need to have two select html elements in a form, the selection of the
first
element will determine the elements of the second select.

I do not want to use AJAX, so I think I would like to add a onchange
event in
the first select, but due to my lack of experience in rails I am
somewhat
without ideas on the way of handling this “post back” event.

Thank you for you sugestion,

Paulo A…

On 2/10/06, [email protected] [email protected] wrote:

without ideas on the way of handling this “post back” event.

Thank you for you sugestion,

Paulo A…


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Why do you not want to use AJAX?

Quoting Peter F. [email protected]:

the first select, but due to my lack of experience in rails I am somewhat
without ideas on the way of handling this “post back” event.

Thank you for you sugestion,

Why do you not want to use AJAX?

I am just testing different ways for doing the same task.

Paulo A.

On 2/10/06, [email protected] [email protected] wrote:

Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

I have experienced the most success lately picking the least painful
option
first. In this case, AJAX was definitely less painful than handling an
n-way get/post controller function.