- 博客(12)
- 收藏
- 关注
转载 mysql函数
一、数学函数ABS(x) 返回x的绝对值BIN(x) 返回x的二进制(OCT返回八进制,HEX返回十六进制)CEILING(x) 返回大于x的最小整数值EXP(x) 返回值e(自然对数的底)的x次方FLOOR(x) 返回小于x的最大整数值GREATEST(x1,x2,...,xn)返回集合中最大的值LEAST(x1,x2,...,xn) 返
2018-02-23 11:46:47
297
转载 apiCloud (一)
apicloud开发文档中,前端开发框架指的就是,类似jq\js的语法: https://docs.apicloud.com/Front-end-Framework/framework-dev-guide。api对象就只的是:app的方法。1.安卓滑动关闭窗口在IOS设备上可以通过滑动来关闭win,在安卓默认是不可以。细看下文档其实也很的简单,监听事件里面的swiperight:
2018-01-26 10:39:16
1762
转载 css 字体
雅黑示范:"microsoft yahei", "Times New Roman", "宋体", Times, serif宋体SimSun黑体SimHei微软雅黑Microsoft YaHei微软正黑体Microsoft JhengHei新宋体NSimSun新细明体PMingLiU细
2018-01-25 17:31:51
1723
转载 JSON与对象的转换
1. List集合转换成json代码List list = new ArrayList();list.add( "first" );list.add( "second" );JSONArray jsonArray2 = JSONArray.fromObject( list );2. Map集合转换成json代码Map map = new HashMap();map.
2018-01-10 14:34:26
249
转载 页面跳转
top.location.href=”url” 在顶层页面打开url(跳出框架)self.location.href=”url” 仅在本页面打开url地址 parent.location.href=”url” 在父窗口打开Url地址 this.location.href=”url” 用法和self的用法一致
2018-01-10 10:27:06
212
转载 在jsp页面如何获得url参数
当一个url过来时,如:http://localhost:8080/pro/demo/hello.jsp?name=john,在hello.jsp页面,我们可以这样得到name的值:String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServ
2017-12-01 14:48:08
1272
转载 字数的隐藏和展开
var oUl=document.getElementById("span"); var str=oUl.innerHTML; oUl.innerHTML=str.substr(0,100)+"..."; var i=0; var oA = document.getElementById("zhanshi");
2017-11-23 16:12:03
251
转载 bootstrap滑动按钮/取值
https://www.cnblogs.com/suruozhong/p/6276950.htmlhttp://www.htmleaf.com/jQuery/Buttons-Icons/201502051331.html
2017-11-22 15:46:32
4410
原创 多余的字数变成省略号
$(function(){ var oUl=document.getElementById("suolue"); var str=oUl.innerHTML; oUl.innerHTML=str.substr(0,30)+"..."; });
2017-11-10 14:49:44
384
转载 c:if标签的判断
判断是否为空 注意:大括号外面不能为空。${orderNo.ethdOriginalOrderNo} str为空 str不为空
2017-11-10 14:41:56
974
转载 CSS实现分割线方法
.demo_line_01{ padding: 0 20px 0; margin: 20px 0; line-height: 1px; border-left: 200px solid #ddd; border-right: 200px solid #ddd; text-align: center;}
2017-11-07 09:45:07
1930
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅