Hai I am developing one web site.I have one rhtml file with search link and one div.If i click on that link one more window will open with search result. If i click on any of that result.That data should be updated in parent page div.Now i am trying with Ajax. Is there any other way to do this task?? please help me in advance..... regards selva -- 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 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 -~----------~----~----~----~------~----~------~--~---
try to use link_to_remote, i think that is what you want -- 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 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 -~----------~----~----~----~------~----~------~--~---
Helder Oliveira wrote:> try to use link_to_remote, i think that is what you wantThank you for your response, But I am still confused where i can use link_to_remote? whether from parent page link or child page link???. After clicking on that link i have to close that window also. Now I am using link_to_remote from parent page. while clicking on that link it is opening child window.Now when i click on that result, the request is going to controller.but its not updating div id of the parent window.In development log i am able to see the the query which i am passing from the child window.But after that nothing is happening. -- 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 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 -~----------~----~----~----~------~----~------~--~---
Selvaraj Subbaian wrote:> Helder Oliveira wrote: >> try to use link_to_remote, i think that is what you want > > Thank you for your response, But I am still confused where i can use > link_to_remote? whether from parent page link or child page link???. > After clicking on that link i have to close that window also. > > Now I am using link_to_remote from parent page. while clicking on > that link it is opening child window.Now when i click on that result, > the request is going to controller.but its not updating div id of the > parent window.In development log i am able to see the the query which i > am passing from the child window.But after that nothing is happening.HAI, Any one got where i am getting problem, Really i am wasting lot of time on this issue.... -- 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 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 -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Dec 11, 2006, at 10:11 PM, Selvaraj Subbaian wrote:> > Any one got where i am getting problem, Really i am wasting > lot of > time on this issue....When debugging ajax stuff, the firebug extension for Firefox is really helpful; it lets you look at your DOM, as well as spy on the http request and answer that comes back. It''s useful to see what the server is actually sending.... David Morton Maia Mailguard http://www.maiamailguard.com mortonda-0/IDydmJJnNeoWH0uzbU5w@public.gmane.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFfj2UUy30ODPkzl0RAsOpAJwO6vDn7jx3XCYUhQVxoGflLiatSACeNgk4 rxslkoiEX4yYLC+x5gihZ5U=gmPq -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---