随笔分类 -  javascript

摘要:解决方法://checkMethod()是自己写的js验证方法OnClientClick(Page_ClientValidate();if(Page_IsValid){return checkMethod();}) 阅读全文
posted @ 2011-08-09 11:43 Wythe 阅读(256) 评论(0) 推荐(0) 编辑
摘要:1,角色权限2. <link href="../Scripts/jsTree/themes/default/style.css" rel="stylesheet" type="text/css" /> <script src="../Scripts/jsTree/jquery-1.6.min.js" type="text/javascript"></script> <script src="../Scripts/jsTree/jquery.js 阅读全文
posted @ 2011-07-28 09:11 Wythe 阅读(16558) 评论(4) 推荐(0) 编辑
摘要:在web.config中添加:<httpHandlers> <add verb="POST,GET" path="*.ashx" type="Ajax.PageHandlerFactory, Ajax"/> </httpHandlers><system.webServer> <handlers> <add name="Ajax" verb="POST,GET" path ="ajax/*.ashx" type= 阅读全文
posted @ 2011-05-12 14:27 Wythe 阅读(2293) 评论(0) 推荐(0) 编辑