上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 33 下一页
摘要: 使用th:style标签: 其中value是后台返回的值 阅读全文
posted @ 2018-11-10 17:51 花拾夕 阅读(10171) 评论(0) 推荐(0) 编辑
摘要: 比如在15:30:30之前: 或15:30:30之后 相等 阅读全文
posted @ 2018-11-10 17:43 花拾夕 阅读(11668) 评论(0) 推荐(0) 编辑
摘要: 1、跳转链接 在当前窗口打开 window.location.href="http://www.baidu.com" 等价于 <a href="baidu.com" target="_self">go baidu</a> window.location.href="http://www.baidu. 阅读全文
posted @ 2018-11-10 15:45 花拾夕 阅读(6055) 评论(0) 推荐(0) 编辑
摘要: 示例:<script type="text/javascript"> var myarr = new Array(3); myarr[0] = "I"; myarr[1] = "Love"; myarr[2] = "JS"; document.write(myarr.join()); </scrip 阅读全文
posted @ 2018-11-10 11:30 花拾夕 阅读(947) 评论(0) 推荐(0) 编辑
摘要: async: 默认是true:异步,false:同步。 其他属性扩展: 1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使 阅读全文
posted @ 2018-11-09 00:06 花拾夕 阅读(10205) 评论(0) 推荐(0) 编辑
摘要: 如下:{0,1}表示1位小数 /^\d+(\.{0,1}\d+){0,1}$/ 若要改小数点后面的位数就将两个大括号{0,1}的1改一下,{0,n}代表0到n位 阅读全文
posted @ 2018-11-08 23:44 花拾夕 阅读(7993) 评论(2) 推荐(0) 编辑
摘要: 一、官网地址:http://bassistance.de/jquery-plugins/jquery-plugin-validation 二、默认校验规则 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 (1) required:true 必输字段 (2) rem 阅读全文
posted @ 2018-11-08 23:29 花拾夕 阅读(9137) 评论(0) 推荐(0) 编辑
摘要: 1、使用skip跳过和limit限制组合,示例: 阅读全文
posted @ 2018-11-07 12:23 花拾夕 阅读(6120) 评论(0) 推荐(0) 编辑
摘要: Case具有两种格式。简单Case函数和Case搜索函数。 1、简单Case函数 CASE sex WHEN '1' THEN '男' WHEN '2' THEN '女' ELSE '其他' END 2、Case搜索函数 CASE WHEN sex = '1' THEN '男' WHEN sex = 阅读全文
posted @ 2018-11-06 14:38 花拾夕 阅读(8756) 评论(0) 推荐(0) 编辑
摘要: 使用concat函数进行拼接:示例如下: select id,username,concat( id, '-' , username) as idName from user; 阅读全文
posted @ 2018-11-06 14:30 花拾夕 阅读(1688) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 33 下一页