Jump to content


Photo

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


  • Please log in to reply
No replies to this topic

#1 Toad

Toad
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 26 October 2006 - 06:15 PM

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.a...x.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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users