处理的方法好像是比较多的,个人还是比较倾向于用JS进行处理。 ...
分类:
Web程序 时间:
2017-08-25 13:56:02
阅读次数:
170
1. jquery 在iframe子页面获取父页面元素代码如下: $("#objid", parent.document); 2. jquery在父页面 获取iframe子页面的元素 $("#objid",document.frames('iframename').document); 3.js 在 ...
分类:
Web程序 时间:
2017-08-25 13:50:16
阅读次数:
159
保留一位小数,有一位小数的不变 yAxis : { labels : { formatter : function () { var strVal = ''+this.value ; if (strVal.indexOf('.') == -1) { return strVal + '.0'; }el ...
分类:
其他好文 时间:
2017-08-25 12:27:03
阅读次数:
121
longest substring问题最长子串滑动窗口HashMap 1.题目描述Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcb... ...
分类:
其他好文 时间:
2017-08-25 12:23:46
阅读次数:
146
ps:mockjs在进行相同的双数次请求的时候,会出现请求404的状况,希望有大佬帮解决下 首先创建dom <img id='bbn' src="" alt="图图"> <button id="but">asdsa</button> 在js中先写好mock Mock.mock(/query/g,fu ...
分类:
Web程序 时间:
2017-08-25 11:04:35
阅读次数:
232
events可以说是node实现异步的基石,也是其他几个常用核心模块api的异步方法的原型。 引入events模块后,用它生成一个事件实例,就可以使用该实例的on方法监听(绑定)事件,emit方法触发事件,emit方法返回一个布尔值表示该事件是否已被监听。 EventEmitter.addListe ...
分类:
其他好文 时间:
2017-08-25 10:48:57
阅读次数:
148
<!doctype html><html> <head> <meta charset="utf-8"> <title>jQuery实现复选框的全选、反选、并且根据复选框的(checked属性)控制多个对应div的显示/隐藏</title> <script type="text/javascript" ...
分类:
Web程序 时间:
2017-08-25 09:38:24
阅读次数:
218
/* 转换为100-5 0100-000051-998 0001-0099812-1589 0012-01589*/IF EXISTS(SELECT * FROM sys.objects WHERE name='Fun_CombineTransfer')DROP FUNCTION dbo.Fun_C ...
分类:
数据库 时间:
2017-08-25 01:15:43
阅读次数:
174
JDBC( Java Data Base Connectivity ) is one of the technique of JavaEE. How to use JDBC to query the data in the table and print the data in the consol ...
分类:
数据库 时间:
2017-08-25 01:07:02
阅读次数:
195
【CSS Transition】 CSS transitions provide a way to control animation speed when changing CSS properties. Instead of having property changes take effect ...
分类:
Web程序 时间:
2017-08-25 00:04:40
阅读次数:
231