摘要: https://blog.csdn.net/linzhiqiang0316/article/details/52326773、 readyState存着XMLHttpRequest的状态 0: 请求未初始化 1: 服务器连接已建立 2: 请求已接收 3: 请求处理中 4: 请求已完成,且响应已就绪 阅读全文
posted @ 2018-08-28 17:20 萧韶九成 阅读(141) 评论(0) 推荐(0)
摘要: debugger; 阅读全文
posted @ 2018-08-28 17:18 萧韶九成 阅读(100) 评论(0) 推荐(0)
摘要: try{ easy7.Interface.onCreatePictureUpLoad(frmObj); }catch(e){ console.info(e); } 阅读全文
posted @ 2018-08-28 17:17 萧韶九成 阅读(155) 评论(0) 推荐(0)
摘要: 子节点数量:this.wdlgLossInfo.childNodes.length 阅读全文
posted @ 2018-08-28 17:16 萧韶九成 阅读(130) 评论(0) 推荐(0)
摘要: 有时候会把<script> 标签或脚本放到<body> 元素的底部,这会提高网页加载速度,因为 HTML 加载不受制于脚本加载 阅读全文
posted @ 2018-08-28 17:15 萧韶九成 阅读(115) 评论(0) 推荐(0)
摘要: 添加指定的属性,并为其赋指定的值 this.sltLevelType.setAttribute("height", "100px"); 阅读全文
posted @ 2018-08-28 17:15 萧韶九成 阅读(271) 评论(0) 推荐(0)
摘要: 基本方法 this.assetCounts.focus();//聚焦 this.btnSave.cancel();//按钮取消 this.assetPerson.isValid()//是否有效,true:有效 验证数字类型 - bootstrap.form.NumberSpinner if (isN 阅读全文
posted @ 2018-08-28 17:10 萧韶九成 阅读(299) 评论(0) 推荐(0)
摘要: TD - bootsrap版本tab替换 dijit.layout.TabContainer 》 bootstrap.layout.TabContainer dijit.layout.ContentPane 》 bootstrap.layout.ContainerPane 阅读全文
posted @ 2018-08-28 17:09 萧韶九成 阅读(171) 评论(0) 推荐(0)
摘要: required="required"/required="true" 定义和用法 required 属性规定必需在提交之前填写输入字段。 如果使用该属性,则字段是必填(或必选)的。 阅读全文
posted @ 2018-08-28 17:09 萧韶九成 阅读(850) 评论(0) 推荐(0)
摘要: //根据名称获取cookie值 getCookie:function(cname){ var name = cname + "="; var ca = document.cookie.split(';'); for(var i=0; i<ca.length; i++) { var c = ca[i] 阅读全文
posted @ 2018-08-28 17:08 萧韶九成 阅读(153) 评论(0) 推荐(0)
摘要: cookie 与 session 是网页开发中常用的信息存储方式。Cookie是在客户端开辟的一块可存储用户信息的地方;Session是在服务器内存中开辟的一块存储用户信息的地方.JavaScript是运行在客户端的脚本,因此一般是不能够设置Session的,因为Session是运行在服务器端的,而 阅读全文
posted @ 2018-08-28 17:07 萧韶九成 阅读(105) 评论(0) 推荐(0)
摘要: TD - 折线图模板 //加载折线图 load_line_diagram:function(){ var item = {}; var myChart = easy7.line.init(document.getElementById('lineDiagram')); //横轴 var xData 阅读全文
posted @ 2018-08-28 17:06 萧韶九成 阅读(115) 评论(0) 推荐(0)
摘要: http://www.w3school.com.cn/cssref/css_colorsfull.asp 阅读全文
posted @ 2018-08-28 17:05 萧韶九成 阅读(188) 评论(0) 推荐(0)
摘要: a标签定义超链接,用于从一张页面链接到另一张页面,它最重要的属性是 href 属性,它指示链接的目标。 <a href="http://www.w3school.com.cn">W3School</a> 最常用的就像这样添加一个链接,如果是点击事件的话,建议用下面的写法 <a href="javas 阅读全文
posted @ 2018-08-28 17:05 萧韶九成 阅读(118) 评论(0) 推荐(0)
摘要: 设置或获取整个 URL 为字符串: window.location.href 获取内容:http://10.100.0.8:7000/SVP/ "window.location.href" "http://10.30.60.187:7000/PPIS/templates/WfrmMain_Test. 阅读全文
posted @ 2018-08-28 17:04 萧韶九成 阅读(6371) 评论(0) 推荐(0)
摘要: 定义和用法 不再派发事件。 终止事件在传播过程的捕获、目标处理或起泡阶段进一步传播。调用该方法后,该节点上处理该事件的处理程序将被调用,事件不再被分派到其他节点。 语法 event.stopPropagation() 说明 该方法将停止事件的传播,阻止它被分派到其他 Document 节点。在事件传 阅读全文
posted @ 2018-08-28 17:02 萧韶九成 阅读(732) 评论(0) 推荐(0)
摘要: 模板 模板1:TD //Html - checked="true" 默认选中 <input dojoType="bootstrap.form.CheckBox" checked="true" dojoAttachPoint="assetsIdBox"> Js: //绑定修改事件 this.conne 阅读全文
posted @ 2018-08-28 16:52 萧韶九成 阅读(861) 评论(0) 推荐(0)
摘要: 基本方法 Html - 默认选中 //checked="true" - 默认选中 <input dojoType="bootstrap.form.RadioButton" value="1" checked="true" dojoAttachPoint="chkAreaAndDeptType"> J 阅读全文
posted @ 2018-08-28 16:51 萧韶九成 阅读(759) 评论(0) 推荐(0)
摘要: <iframe src="你要嵌套的页面.html" frameborder="0" width="300" scrolling="No" height="200" leftmargin="0" topmargin="0"></iframe> 备注:scrolling禁止鼠标滑动,framebord 阅读全文
posted @ 2018-08-28 16:50 萧韶九成 阅读(186) 评论(0) 推荐(0)
摘要: if (confirm(this.nls.IS_SAVE_AREA)) {} 阅读全文
posted @ 2018-08-28 16:48 萧韶九成 阅读(139) 评论(0) 推荐(0)