Easiest Edit In Place 1.2 Demo

The Easiest Edit In Place script. Only one line of javascript code, and only 3k of library code (not counting prototype).

(c) 2006-2007 www.epointment.com

Author: Peter C. Verhage <peter@epointment.com>

Website: http://www.epointment.com/software/eeip

Example 1

A piece of text which is edited inline by an <input type="text">.
The eeip.css stylesheet contains styles to make the input look exactly like the rendered text.

Notice how the cursor is positioned at exactly the right spot?
Use 'view source' on this page to see how little scripting this requires.
Basic instructions: surround the readonly part with an <a></a> pair, and surround the widget with a span with the same name with "_widget" appended.
Name: Hello World

Example 2

The same, but this time using a text area. Caret positioning still works.

Description: Hello World
Multiline text

Example 3

Custom widgets will work too!!

Favourites: Blue Cheese