Hi,
Is anyone know how to set cute editor readonly using javascript?
I tried the following code but did not work.
-----------------------------------------------------------------------------
Javacript:
var editor1 = el("CE_Editor1_ID");
editor1.readonly= true;
------------------------------------------------------------------------------
aspx:
<%@ Register TagPrefix="ce" Namespace="CuteEditor" Assembly="CuteEditor" %>
...
<html>
....
<div id="NotesSection">
<CE:Editor id="Editor1" style="Z-INDEX: 101; LEFT: 1px; POSITION: absolute; TOP: 0px" runat="server"
ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/mytools.config" AutoConfigure="None"
Width="550px" Height="200px" ThemeType="Office2003" ShowHtmlMode="False" ShowCodeViewToolBar="False">
<FrameStyle Height="100%" BorderWidth="1px" BorderStyle="Solid" BorderColor="#DDDDDD" Width="100%"
CssClass="CuteEditorFrame" BackColor="White"></FrameStyle>
</CE:Editor>
<br/>
<span style="position:absolute; TOP:200px">
<INPUT type=button value="Save" onclick="getHTML()" ID="Button1">
</span>
</div>
<div id="NoteSection2">
<TEXTAREA cols=0 rows=0 id=myTextArea style="width:0px" NAME="myTextArea">Try click the "get HTML" button</TEXTAREA>
</div
...
<html>
Rose