Test on modifying the jQuery Edit In Place (JEIP)

This is a small exercise to modify the original jQuery Edit In Place (JEIP) script for otaining a more flexible and general tool.

The modified script has two main additional features:

  1. a load_url parameter is used to load the text to be edited: useful when the text that is shown has to be entered using a specific syntax like BBCODE or wikimedia;
  2. it is possible to define a general form type: in this case the load_url parameter is mandatory since the form has to be loaded from a html or php page.

Demo


Simple text form: click to edit

Simple textarea form: Text to be shown

Simple general form: 55

How the general form can be used to obtain more complex forms::

first fieldsecond fieldvalue
click to edit the whole tabletest not to edit

Learn more about jQuery Edit In Place (JEIP).

Download this modified demo.