Home -> nicEdit -> nicEdit Demo (modify page):



nicEdit Demo : modify page , php Code:

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

</head>

<body>

<?php
$text="Some Initial Co<b>ntent w</b>as in this textarea";
?>

<form method="POST" action="nicEdit_modify2.php">
<textarea name="area1" cols="60" id="area1"><? echo $text;?></textarea><br>
<input type="hidden" name="do" value="up" />
<input type="submit" name="Submit" value="Submit">
</form>

<script src="nicEdit/nicEdit.php" type="text/javascript"></script>
<script type="text/javascript">
bkLib.onDomLoaded(function() {
new nicEditor({fullPanel : true}).panelInstance('area1');
});
</script>

 

 

</body>
</html>