随笔分类 -  JavaScript && JQuery

摘要:绑定数据: 阅读全文
posted @ 2017-08-08 15:15 26个字符的地狱 阅读(610) 评论(0) 推荐(0)
摘要:1 jQuery.extend({ 2 /** 3 * Returns get parameters. 返回获取参数。 4 * 5 * If the desired param does not exist, null will be returned 如果所需的参数不存在,将会返回null 6 * 7 * @例子 value = $.getURLParam("paramName... 阅读全文
posted @ 2017-08-08 15:06 26个字符的地狱 阅读(1172) 评论(0) 推荐(0)
摘要:1 _uri_api = function(url){ 2 return 'http://localhost/msquare/' + url; 3 // return 'http://test2.msqsoft.net:8080/msquare/' + url; 4 } 5 6 function p 阅读全文
posted @ 2017-08-08 15:04 26个字符的地狱 阅读(434) 评论(0) 推荐(0)
摘要:$(doument).ready(function(){});--基础语法click--点击事件dblclick--双击事件mouseenter--鼠标焦点事件mouseleave--失去焦点事件bind on 绑定事件unbind off 解除绑定display--(none)隐藏display- 阅读全文
posted @ 2016-11-05 17:15 26个字符的地狱 阅读(150) 评论(0) 推荐(0)
摘要:<base href="<%=basePath %>"> -- (不推荐使用)--导入文件路径 ${pageContent.request.contextPath } -- 项目根目录 ,绝对路径 content : "<iframe src='back/" + url +"'>" -- 通过内部框 阅读全文
posted @ 2016-11-05 17:08 26个字符的地狱 阅读(167) 评论(0) 推荐(0)
摘要:《脚本js》 《编写位置:》 <script>--标签导入 <script>--标签包含 《js函数》 parseInt()--将字符串转换成整型数字 parseFlost()--将字符串转换成浮点类型 inNaN()--判断非数字 eval()--计算表达式 《js自定义函数》 function 阅读全文
posted @ 2016-11-05 17:06 26个字符的地狱 阅读(142) 评论(0) 推荐(0)