Daniel,
Here is the source code:
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<html>
<head>
<title>Simple Blur</title>
</head>
<body>
<form id="Form1" runat="server">
<CE:Editor id="Editor1" runat="server" ></CE:Editor>
</form>
<script type="text/javascript">
setTimeout(CE_attachEvent,1000);
function CE_attachEvent()
{
// get the cute editor instance
var iframe = document.getElementById('<%=this.Editor1.FrameID%>');
// attach Event
if(iframe.attachEvent)
iframe.attachEvent('onblur',HandleChange);
else if(iframe.contentDocument.addEventListener)
iframe.contentDocument.addEventListener('blur',HandleChange,true);
}
function HandleChange()
{
// get the cute editor instance
var editor1 = document.getElementById('<%=Editor1.ClientID%>');
//Get the editor content
var editdoc=editor1.GetDocument();
alert(editdoc.body.innerHTML);
}
</script>
</body>
</html>
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx