On Mon, Jul 23, 2012 at 7:59 AM, lalalalala pqpqpqpqpq
<[email protected]> wrote:

> Now, how would I add a submit button in my view so when some1 has for
> example, "A" selected, the action runA would be called in my controller.

Using the same suggestions you already got for the same question?

It's either a form and a submit button -- standard HTML -- if you want
(or can at least live with) a page refresh, or AJAX/JavaScript to run
your method while staying on the same page.

Do you know HTML? Do you know JavaScript?

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to