Hello,
I have here an issue which is really critical for me (it for my
university work and I would like to not delete this feature). It based
on a Rails 1.x tutorial which I use now under Rails 2.x. It contains the
refreshment (adding content or records) of an div via RJS/JS.
I access the RJS via (Controller):
respond_to do |format|
format.html { redirect_to :controller => 'pattern', :action => 'show',
:id => @comment.pattern_id }
format.js
Any javascript errors? (if you haven't already installed firebug then
install it now - it will tell you a lot more when javascript errors
crop up).
If your form_remote_tag/link_to_remote/etc... is using an :update
option, then ditch it.
On Sep 29, 10:12�pm, Knut Linke <rails-mailing-l...@andreas-s.net>
Any javascript errors?
When I load the page in IE or FF no error is shown.
(if you haven't already installed firebug then
install it now - it will tell you a lot more when javascript errors
crop up).
I have FB open, but the page looks ok. When I click on the send button,
no action is startet. Where should I look for mentioned JS errors in the
FB? I have currently only use the HTML view
If your form_remote_tag/link_to_remote/etc... is using an :update
option, then ditch it.
An the form which sends the request is setup by:
<% form_remote_for :comment, :url => {:controller => "comment", :action
=> "createajax" }, :html => { :id => 'comment_form' } do |f| %>
So nothing to ditch used or did I get your wrong?