Displaying 1 result from an estimated 1 matches for "div_nam".
Did you mean:
div_name
2006 Jul 11
0
Ajax.InPlaceEditor + onComplete
...ing to use the helper "in_place_editor_field" and pass an
onComplete to it, but it seems that I can''t 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,...