Displaying 1 result from an estimated 1 matches for "category_articles_path".
2007 Jun 22
1
nested rest URL => passing param from select
...39;'m trying to create a select box with an onchange event. When onchange
is fired, I want to redirect to a nested rest url. The problem is that I
don''t know how to pass the selected value to the url:
<select id="category" onchange=" <%= remote_function(:url =>
category_articles_path(selected value?) ) %> ">
Any suggestions?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send emai...