Hi,
I'm a french student developper and i need of you today.
I would save my text after change.
Per exemple :
- I have my text with div id="editable" contenteditable="true"
- I change the text
- I save my new text
My dev :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="php/html" charset="iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="index" href="index.css" />
<title>Accueil</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<script type="text/javascript" src="javascript/ckeditor/ckeditor.js"></script>
</head>
<body>
<div id="tete">
</div>
<div id="menu">
<?php
include("menu.php");
?>
</div>
<div id="corpsindex">
<div id="editable" contenteditable="true">
<h1>Inline Editing in Action!</h1>
<p>The div element that holds this text is now editable.
</div>
<script>
// Turn off automatic editor creation first.
CKEDITOR.disableAutoInline = true;
CKEDITOR.inline( 'editable' );
</script>
</div>
<div id="pied">
<?php
include("pied.php");
?>
</div>
</body>
</html>
Thanks !