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:
- 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;
- 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 field | second field | value
|
---|
click to edit the whole table | test | not to edit |
Learn more about jQuery Edit In Place (JEIP).
Download this modified demo.