怎么判断呢?服务器里面可以得到它的值
客户端却判断不了
客户端却判断不了
解决方案 »
- 求助: 控制台验证邮箱注册问题,帮忙看看
- 在LOAD事件里定义的线程为什么不能在按钮事件里结束?
- C# 如何使自己编制的dll在用户使用时需要注册或密码?
- 如何组织项目
- 各位大侠帮忙我看看,我获取DataGridView单元格的值,怎么为空啊?
- 请教,我想实现二维画图(点线),鼠标可以控制图形放大缩小,有点像地图网站的效果,有什么方法?(最好有例子),谢谢。
- 如何用正则表达式分析公式
- 更急,无法下载http://www.downcode.com/down/list.asp?id=1207;
- 初学C#,怎么在第二个窗体中关掉第一个窗体
- 请教c#的threadPool是怎么用的?
- 使用链表技术,制作程序完成借助链表进行排序的功能
- 怪问题?无记录时显示不出提示信息
2. //自定义验证函数
3. function checkcontent(source, arguments){
4. //获取FCKEditor实例
5. var oEditor = FCKeditorAPI.GetInstance('content');
6. //判断是否为空
7. if (oEditor.GetXHTML(true) ==""){
8. arguments.IsValid = false;
9. }else{
10. arguments.IsValid = true;
11. }
12. }
13. </script>
14.
15. <!--//自定义验证控件//-->
16. <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="checkcontent" ValidateEmptyText="true" ControlToValidate="content" ErrorMessage="此项不能为空!"></asp:CustomValidator>
17.
18. <!--//FCKEditor控件//-->
19. <FCKeditorV2:FCKeditor ID="content" runat="server" Height="300px" Width="680px">
20. </FCKeditorV2:FCKeditor>
找了这个 还是判断不了