Frederick Cheung wrote in post #1081170:
> On Wednesday, October 24, 2012 7:40:24 PM UTC+1, Ruby-Forum.com User
> wrote:
>>         alert("success");
>>     };
>> }
>>
>
> This javascript is syntactically incorrect - you're not closing the
> parens
> you open just after "bind"
> Also if you want to render nothing you do need to explicitly say that
> (eg
> render :nothing => true) or rails will complain that there is no
> template
>
> Fred

Thanks Fred

I spotted that using Firebug, but still makes no difference.  When 
setting render :nothing => true it just renders a blank template which 
is not what i want.  The ajax:success event is not firing either

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to