Using link_to_remote from live_search Resutls

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>

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:

Thanks so much for your help! :slight_smile:


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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs