Adam,
Is there a way of getting a character count for the text (excluding html tags)?
thanks
Alan
Alan,
Try the following code:
<script language="JavaScript" type="text/javascript" >
var editor = document.getElementById("editor1_editBox");editor.onkeypress = maxlength;function maxlength() { if (editor.innerText.length >= 500) { //do something here alert("Max length is 500"); }}</script>
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx Web Messenger: http://cutesoft.net/Web-Messenger/default.aspxasp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspxasp 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