My favorites | Sign in
Project Logo
                
Code license: New BSD License
Feeds:
People details
Project owners:
  DaveHauenstein

My Home Page

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.

Some Features

Demo

http://davehauenstein.com/code/jquery-edit-in-place/example/

Usage

It’s extremely easy to implment! The code below looks for an element with a class value of ‘name’ and applies an in-place editor to it. These are only a few of the parameters that can be passed into the editor. See below for a full listing of the parameters. It’s highly customizable. view plaincopy to clipboardprint?

$(".name").editInPlace({
    url: "http://com.examplesite.www/users",
    params: "name=david"
});

Once the in-place editor form is submitted, it sends a POST request to the URL that is specified in the editor’s parameters along with three form fields:

Parameters









Hosted by Google Code