> i have some items that use the link_to_remote helper and i would like
> them to also link directly to the page that they are calling if
> javascript is not available. i have tried putting the action and id in
> like i would with a regular link_to helper but that didn''t work.
>
> how can i accomplish this?
Forms:
<%= form_remote_tag(:url =>{:action => "myaction"}, :html
=> {:action
=> url_for(:action => "myaction"), :id =>
"myform"}) %>
Links:
link_to_remote("mylink",{:url => {:action =>
"myaction"}},{:href =>
url_for(:action => "myaction")})
Best regards
Peter De Berdt
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---