上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: jquery取radio单选按钮的值 $("input[name='items']:checked").val(); 另:判断radio是否选中并取得选中的值 如下所示: function checkradio(){ var item = $(":radio:checked"); var len=item.length; if(len>0){ alert("yes--选中的值为:"+$(":radio:checked").val()); } } jquery radio取值,checkbox取 阅读全文
posted @ 2012-08-28 15:01 秦岭过客 阅读(461) 评论(0) 推荐(0) 编辑
摘要: JS文件如下:varsetting={async:{//异步加载enable:true,url:getUrl},callback:{beforeExpand:beforeExpand,onAsyncSuccess:onAsyncSuccess,onAsyncError:onAsyncError}};functioncreateTree(){$.ajax({url:'Handler.ashx?action=GetProvince',//urlaction是方法的名称data:{id:"0"},type:'POST',dataType:" 阅读全文
posted @ 2012-08-10 11:12 秦岭过客 阅读(3431) 评论(0) 推荐(1) 编辑
摘要: Chexkbox处理varsetting={check:{enable:true//chkboxType:{"Y":"","N":""}},data:{simpleData:{enable:true}}};functioncreateTree(){varzNodes;$.ajax({url:'Handler.ashx?action=GetModule',//urlaction是方法的名称data:{id:"11"},type:'POST',dataType:&qu 阅读全文
posted @ 2012-08-09 14:39 秦岭过客 阅读(18180) 评论(2) 推荐(4) 编辑
摘要: C#zTree.csusingSystem;usingSystem.Collections.Generic;usingSystem.Data;usingSystem.Linq;usingSystem.Text;usingSystem.Web;///<summary>///zTree的摘要说明///</summary>publicclasszTree{#region构造函数publiczTree(){////TODO:在此处添加构造函数逻辑//}#endregionpublicstringGetModule(){stringsql="SELECTm.ID,m.N 阅读全文
posted @ 2012-08-08 16:53 秦岭过客 阅读(5905) 评论(0) 推荐(1) 编辑
摘要: 刚接触Easy UI,很多东西还是粗放式的,望理解。后台采用的是ahsx代码如下:Handler.ashxusingSystem;usingSystem.Web;publicclassHandler:IHttpHandler{publicvoidProcessRequest(HttpContextcontext){context.Response.ContentType="text/plain";stringmethod=context.Request["action"];switch(method){case"GetModule": 阅读全文
posted @ 2012-08-08 10:47 秦岭过客 阅读(26528) 评论(1) 推荐(5) 编辑
摘要: aspx:在前台页面中引用jquery,那个版本的都行<scriptsrc="../JS/jquery-1.7.2.js"type="text/javascript"></script>加入一个按钮<inputtype="button"value="button"id="btn"/>js文件如下$(document).ready(function(){$.ajax({url:'../Handler.ashx?action=GetProvince' 阅读全文
posted @ 2012-08-06 14:16 秦岭过客 阅读(5335) 评论(0) 推荐(1) 编辑
摘要: <scripttype="text/javascript"src="json2.js"></script><script>//直接声明json数据结构varmyJSONObject={"bindings":[{"ircEvent":"PRIVMSG","method":"newURI","regex":"^http://.*"},{"ircEvent":&quo 阅读全文
posted @ 2012-08-06 12:14 秦岭过客 阅读(227) 评论(0) 推荐(0) 编辑
摘要: publicstaticstringCreateJsonParameters(DataTabledt){/**//**//**//*/*****************************************************************************WithoutgoingintothedepthofthefunctioningofthisMethod,iwilltrytogiveanoverview*AssoonasthismethodgetsaDataTableitstartstoconvertitintoJSONString,*ittakeseach 阅读全文
posted @ 2012-08-04 17:48 秦岭过客 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 1。表格中子报表导出成execl文件时候不能把子报表中的数据导出如果用列表是可以导出但是数据没有合并2。矩阵调节组的时候一定要调节矩阵的组而不是调节每个文本框的属性3。如下图组中(在一列中的都是组中的)的组后一个组只有是最小单位的时候 所有的数据才会全部显示出来。如果想不合并重复项则矩阵中的组表达式应该是=First(Fields!Description.Value)如果要合并则表达式应该是=Fields!Description.Value4.报表中每组的合计选中要合计的组右键选择小计5.单元格中的文字方向单元格属性---格式---模式WritingMode: tb-rl 纵向(垂直)Writ 阅读全文
posted @ 2012-08-02 17:18 秦岭过客 阅读(12665) 评论(0) 推荐(1) 编辑
摘要: 代码一:'RDLC自定义函数数字转人民币大写(金额)目前只支持到亿,解决零角问题FunctionCNMoney(ByValMoneyAsString,OptionalByValYBAsBoolean=True)AsStringDimX,YAsStringDimIAsIntegerConstZimu=".sbqwsbqysbqwsbq"''定义位置代码ConstLetter="0123456789sbqwy.zjf"''定义汉字缩写ConstUpcase="零壹贰叁肆伍陆柒捌玖拾佰仟万亿圆整角分" 阅读全文
posted @ 2012-08-02 12:22 秦岭过客 阅读(2227) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页