Editable Content WYSWIYG regions in MSIE
<SCRIPT>
function chgSpan() {
currentState = oSpan.isContentEditable;
newState = !currentState;
oSpan.contentEditable = newState;
oCurrentValue.innerText = newState;
newState==false ? oBtn.innerText="Enable Editing" :
oBtn.innerText="Disable Editing"
}
</SCRIPT>
</HEAD>
<BODY onload="oCurrentValue.innerText = oSpan.isContentEditable;">
Click the button to enable or disable SPAN content editing.
<BUTTON ID="oBtn" onclick="chgSpan()">Enable Editing</BUTTON>
<SPAN ID="oSpan">You can edit this text.</SPAN>
SPAN can be edited: <SPAN ID="oCurrentValue"></SPAN>
</BODY>
By simply adding persistence and a save this link to each editable region. You can now have a localised wiki. Without persistence the save can be uses with JSRS to save remotely withotu reloadign the page for a real wiki.
