Displaying 2 results from an estimated 2 matches for "other_div".
2006 Apr 04
7
Not getting the whole RJS-based partial rendering concept ...
I have been trying all kinds of different ways to produce what I think
should be a simple effect, but have not had any luck yet and apparently
I am not following the general idea...
What I am trying to accomplish is the following (part 1 works and part 2
does not):
1. One of my views has a link_to_remote which updates a div container
with a table of data
my example is
<div
2006 Jul 11
0
Ajax.InPlaceEditor + onComplete
...pass that :success or
:onComplete because they become attributes of the span on to of the
Javascript:
Here is my desired Javascript outcome:
new Ajax.InPlaceEditor(''div_name'', ''link_name'',
{onComplete:function(){new Ajax.Updater(''other_div'',
''other_link'', {asynchronous:true, evalScripts:true})}})
Currently, I am doing it manually, but it would be nice to use the
helper.
Thanks,
Roland
--
Posted via http://www.ruby-forum.com/.