I''d like users to click on a link with modifies the current page and opens a new external url in a new window. I''ve got the link_to_remote working fine and the current page is updated. But how to I open a url in a new window? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2009-Mar-12 22:23 UTC
Re: Is there a way to have link_to_remote execute two actions?
On Mar 12, 8:41 pm, DPF <dfrank...-pdvqHTjnGG2rG/iDocfnWg@public.gmane.org> wrote:> I''d like users to click on a link with modifies the current page and > opens a new external url in a new window. I''ve got the link_to_remote > working fine and the current page is updated. But how to I open a url > in a new window?in a nutshell this is what rjs / rendering javascript is for. Fred --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- link_to_remote option :onsuccess, execute js function
- link_to_remote > in :action , interrupt ajax to render a new page outside the :update div ?
- No action from AJAX link_to_remote...
- Is there a Rails helper similar to link_to_remote but for a form check box instead of a link?
- link_to_remote id or class