What is it?
Another In-Place Editor is a jQuery plugin that turns any element or group of elements into an Ajax in-place editor using only one line of code. It’s written using the jQuery Library, which is available free at http://jquery.com. I saw this on Flickr a while back and I thought it was really great how you can update the title and description of a photo without having to go to an admin page.
- Esc key will cancel an active editor
- On blur will by default cause the editor to submit the value to the server. This can be overridden to cancel the submission.
- Submit to a callback function to handle the in-place submission, rather than submitting to a URL
- Optional validation of a blank field; By default if the field is blank, the form won’t submit and the user will receive an alert