Jason,<br>
<br>
Try adding <br>:layout =&gt; false<br>
to your render call.<br>
<br>
-bakki<br><div><span class="gmail_quote">On 1/31/06, <b class="gmail_sendername">Jason Bell</b> &lt;<a href="mailto:jason.b@aanet.com.au">jason.b@aanet.com.au</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Will Briggs wrote:<br>&gt;<br>&gt; Use partial view templates.<br>&gt;<br>Thanks Will.&nbsp;&nbsp;I tried using a partial and that works fine for the view,<br>but when I use render_partial in the action called by the ajax - which<br>
is only supposed to update the div - it tried to overwrite the entire<br>page and it all goes pear shaped.<br><br>Have you got that to work?&nbsp;&nbsp;Render a partial in response to an ajax<br>call?<br><br>Thanks,<br>Jason<br><br>
--<br>Posted via <a href="http://www.ruby-forum.com/">http://www.ruby-forum.com/</a>.<br>_______________________________________________<br>Rails mailing list<br><a href="mailto:Rails@lists.rubyonrails.org">Rails@lists.rubyonrails.org
</a><br><a href="http://lists.rubyonrails.org/mailman/listinfo/rails">http://lists.rubyonrails.org/mailman/listinfo/rails</a><br></blockquote></div><br>