w1nk5 — 2013-02-04T17:19:07-05:00 — #1
This question is quite specific, so hopefully someone in here can help me out.
I am converting a system from prototype to jQuery. Part of the system is using Scriptaculous' Ajax.InPlaceEditor(). I know there are lots of jQuery alternatives for this, however, I am having a hard time finding one that works similarly and with the same options since their system is taking advantage of a lot of Ajax.InPlaceEditor() options. For example:
Any assistance with this would be greatly appreciated.
aussiejohn — 2013-02-05T15:47:37-05:00 — #2
I don't imagine it would be easy to find something that specific (unless someone happens to have found a similar replacement). Especially finding something that implements the same/similar callbacks and options would be hard. No matter what you end up using though, it's likely that you'll need to do some rewriting of code.
This doesn't necessarily have to be a bad thing though, it might be a good opportunity to try to find an editor that works better. If it doesn't exactly fit in to the current system, small changes are usually not a big deal to make (but that probably depends on the site and who does the back end dev on it).
I'm sure you've seen list posts that show some inline editors; might be a good idea to try to find an awesome one and mould it and your current system to work together nicely.
(P.S. My condolences for having to convert a Prototype based site to jQuery - I'm pretty sure I've had nightmares about doing something like that)
w1nk5 — 2013-02-05T17:58:31-05:00 — #3
Yeah, it's not fun. I ended up using jeditable (http://www.appelsiini.net/projects/jeditable) and adding my own callbacks to get it to do what I needed.
Thanks for the input.