<p>Is it possible to reload a page that was loaded thru link_to_remote? I'm doing this in my controller: <br></p>

<pre><code>def create
 if captchas_verified
  do_something
 else
  render :action=&gt;'new'
end
</code></pre>

<p>But when the captchas is wrong, it do not render a form that is inside of the new template. By the way, in the webserver log, it shows that the templades was rendered.</p>

<p>Thanks!</p>

<p>UPDATED: Today i changed the render to:</p>

<pre><code>render(:update) { |page| page.call 'location.reload' }
</code></pre>

<p>But it makes me update the page that called the link_to_remote not the page that was opened thru the link_to_remote</p>

<p>UPDATED 2: I fixed using
    page.replace_html "mydiv", :partial => "new"
instead of 
    page.call 'location.reload'</p>

Something like this should do what you want.
```
```
render :update do |page| page << 'window.location.reload()' end
```
```