Greetings, I am a bit of a newbie to the scriptaculous library and am
trying to use the InPlaceEditor. It works fine the first time, I click
the text it shows up and I can edit it. But when I click on it a second
time (after the ajax call completes successfully and my new text is
displayed) I get an empty text box.
I''m using scriptaculous 1.6.4, and this is my code:
<p id="item-tag">tag</p>
<script type="text/javascript">
new Ajax.InPlaceEditor(''item-tag'',
''updateTags/1'');
</script>
And on the server side, I''m performing a database update and displaying
the tags that were sent via ajax. This works fine.
I''ve searched through the limited documentation and tried various
techniques to know avail. Please help!
Thanks,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---