# Question about link\_to\_remote

**URL:** <https://www.ruby-forum.com/t/question-about-link-to-remote/111459>\
**Category:** Rails\
**Created:** [August 7, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/question-about-link-to-remote/111459 "2007-08-07T15:57:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![huang\_zhimin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/54ee81/32.png) [@huang\_zhimin](https://www.ruby-forum.com/u/huang_zhimin)\
**Post date:** [August 7, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/question-about-link-to-remote/111459/1 "2007-08-07T15:57:08Z")

</div>

I want to use Ajax.Updater to dynamically update a div with an  
option { insertion:Insertion.Bottom }, but I can’t find the equivalent  
in  
link\_to\_remote.

–

> **[CodeLineStatistics](https://sourceforge.net/projects/mycodeline/)**
>
> Download CodeLineStatistics for free. The code line statistics takes files and directories from GUI, counts the total files, total sizes of files, total lines, lines of codes, lines of comments and lines of blanks in the files, displays the results...

[http://rubyforge.org/projects/ropenwiki/](http://rubyforge.org/projects/ropenwiki/)

---

<div class="post-metadata">

**Author:** ![huang\_zhimin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/54ee81/32.png) [@huang\_zhimin](https://www.ruby-forum.com/u/huang_zhimin)\
**Post date:** [August 8, 2007, 10:32am UTC](https://www.ruby-forum.com/t/question-about-link-to-remote/111459/2 "2007-08-08T10:32:56Z")

</div>

huang zhimin wrote:

> I want to use Ajax.Updater to dynamically update a div with an  
> option { insertion:Insertion.Bottom }, but I can’t find the equivalent  
> in  
> link\_to\_remote.

you do it in the controller / rjs on the server side ( controller )  
rather than in the rhtml ;

[http://api.rubyonrails.com/classes/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator/GeneratorMethods.html](http://api.rubyonrails.com/classes/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator/GeneratorMethods.html)

hth

shai
