Saturday, June 20, 2009

using ajax editor and javascript validation


This method is used to check the ajax editor content is empty
<script type="text/javascript">

function test() {
var a = $find("ajaxeditor id");
var value = a.get_content();
if (value == "") {
alert(" enter text in editor");
return false;
}
}

Refer this link: http://forums.asp.net/p/1431940/3225210.aspx