I have a new/create method that only has one field, and I'd rather use a
js prompt() to get the data instead of a form.

The trigger for this is not a link, it's a span.  Using "onclick" in the
span, how can I call a prompt(), return the single param to the
contoller "create" method, and then call the controller "list" method to
update the page?
-- 
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 email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to