View Full Version : Edit in Place

01-28-2008, 01:24 PM
Hi all,
i'm trying to edit texts in place every thing goes well without saving the new texts (have no knowledge in PHP).
Had anyone an idea what should i change to make this work ?

<script type="text/javascript" language="javascript" src="prototype.js"></script>
<script type="text/javascript" language="javascript" src="editinplace.js"></script>
<span id="FatherText">you can edit me !! (supposed ;-) )</span>

<script language="JavaScript">
$("FatherText").editInPlace({auto_adjust: true, select_text: true});

here (http://editinplace.org/) you can find a link to the Bib i use.

01-28-2008, 02:01 PM
Are you asking how to save it?

01-28-2008, 02:48 PM
Not exactlly. When i edit the element it should be updated, the new context should be shown. Thanks

01-29-2008, 03:18 AM
Please have a look at the following page in which you can find the demonstration of editing using JavaScript with a good explanation about everything used.


I hope you'll find this useful.

01-30-2008, 11:03 AM
It was great ! Many Thanks