Ruby Forum Test > using link_to_remote from live_search Resutls

Posted by Mario Flores (mario517)
on 12.10.2007 12:46
Hi There.  I was wondering if anyone one could help me understand how to
update a parent element.


I've basically got some "live search" results being delivered into
search_results, as so:

    <div id="page">
    #live search form is here
    <div id="search_results">&nbsp;</div>
    </div>


The results, include some links via link_to_remote, but they only seem
to be able to update contenst within the search_results div.  How can I
set up link_to_remote to update the parent element, page?

If you'd like to see the code I'm using it's here:
http://pastie.caboo.se/106512


Thanks so much for your help!  :)

-Mario