随笔分类 - JQuery
摘要:因为要做一个动态输入的表格,现在积累一下资料,在网上找了一些资料,经过总结是使用更加方便些,谁有更好的插件和封装的东西,请大家分享一下。其中HTML中的: 序号 缺省 启用 选项内容 操作 添加 ↑ ↓
阅读全文
摘要:(function(){ var Ploy = { Config: { ajaxUrl: "/ajax/ploy.ashx" }, ajax: function(params, callback) { var that = this; $.ajax({ type: "get", cache: false, dataType: "json", url: that.Config.ajaxUrl, data: params, success: arguments[1] || function(){}, error: arguments[2]
阅读全文
摘要:<style type="text/css"> *{margin:0;padding:0;list-style-type:none;}body{font:12px/180% Arial, Helvetica, sans-serif,"宋体";}a,img{border:0;}a{color:#5e5e5e;text-decoration:none;}a:hover{color:#3366cc;text-decoration:underline;}/* box */.box{position:absolute;width:600px;left:
阅读全文
摘要:<script type="text/javascript"> $(function() { $('#tree').tree({ url: 'test.ashx' }) })</script></head><body class="easyui-layout"> <div region="north" border="false" style="overflow: hidden; height: 60px; backgr
阅读全文
摘要:DataTable dt = new DataTable(); DataColumn d1 = new DataColumn("id", System.Type.GetType("System.Int32")); DataColumn d2 = new DataColumn("text", System.Type.GetType("System.String")); DataColumn d3 = new DataColumn("Icon", System.Type.GetType("
阅读全文
摘要:function ok(){ debugger try{ var obj = new ActiveXObject("Scripting.Dictionary");//创建对象 obj.Add("hello",null);//增加新项 obj.Item("hello")="Chiweiyao";//给新增添的项赋值 obj.Add("world",null); obj.Item("world")="Greate"; 获取值 alert( obj.item(&
阅读全文

浙公网安备 33010602011771号