随笔分类 - JavaScript && JQuery
摘要: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...
阅读全文
摘要: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
阅读全文
摘要:$(doument).ready(function(){});--基础语法click--点击事件dblclick--双击事件mouseenter--鼠标焦点事件mouseleave--失去焦点事件bind on 绑定事件unbind off 解除绑定display--(none)隐藏display-
阅读全文
摘要:<base href="<%=basePath %>"> -- (不推荐使用)--导入文件路径 ${pageContent.request.contextPath } -- 项目根目录 ,绝对路径 content : "<iframe src='back/" + url +"'>" -- 通过内部框
阅读全文
摘要:《脚本js》 《编写位置:》 <script>--标签导入 <script>--标签包含 《js函数》 parseInt()--将字符串转换成整型数字 parseFlost()--将字符串转换成浮点类型 inNaN()--判断非数字 eval()--计算表达式 《js自定义函数》 function
阅读全文

浙公网安备 33010602011771号