Displaying 1 result from an estimated 1 matches for "comment_loading".
2006 Apr 25
2
Question about Callbacks in link_to_remote
...like this:
<%= link_to_remote("Get Results",
:update => ''query_results'',
:with => "''tags='' + $F(''query_tags'')",
:loading => "new Effect.Appear(''comment_loading'')",
:complete => "Element.hide(''comment_loading'')",
:url => { :action => :get_results })
Can I have more than one callback for :loading and :complete? That is,
using this syntax, can I make more than one elemen...