# Using link\_to\_remote from live\_search Resutls

**URL:** <https://www.ruby-forum.com/t/using-link-to-remote-from-live-search-resutls/117050>\
**Category:** Rails\
**Created:** [October 12, 2007, 12:49pm UTC](https://www.ruby-forum.com/t/using-link-to-remote-from-live-search-resutls/117050 "2007-10-12T12:49:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgiorno](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@mgiorno](https://www.ruby-forum.com/u/mgiorno)\
**Post date:** [October 12, 2007, 12:49pm UTC](https://www.ruby-forum.com/t/using-link-to-remote-from-live-search-resutls/117050/1 "2007-10-12T12:49:40Z")

</div>

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 contents 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](http://pastie.caboo.se/106512)

Thanks so much for your help! 🙂

-Mario

P.S. I posted this in the test forum by mistake. Sorry for the repost!
