Jump to content

Archived

This topic is now archived and is closed to further replies.

Toad

Trying to figure out scriptaculous' Ajax.In Place Editor.

Recommended Posts

Okay, so I'm having a little bit of trouble with this script. I'm using snippets of this code on my page:

http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor

- The text becomes editable when clicked
- The changed text saves to the database

Which is all great... however if someone tries to edit the field again *without* refreshing the window, the changed text gets appended to the last result. So I guess what I'm trying to do is refresh the page value so that the old value isn't cached. I'm pretty much a novice when it comes to JavaScript, so I don't know a whole lot about it. Any help would be greatly appreciated. I think I'm just overlooking something really silly. :x

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.