摘要: 代码如下:演示页面 不能正常播放时,需注意以下几点:1.html5media.min.js必须连接远程地址,http://api.html5media.info/1.1.5/html5media.min.js,下载本地连接不行,问题还在研究中。2.必须放在服务器上才能正常浏览,如iis,前提:ii... 阅读全文
posted @ 2015-11-17 17:06 山档子 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 2:jquery 的例子如下$(document).ready(function(){$("#audioId").bind('ended', function(){location.href="other.html";});}); 阅读全文
posted @ 2015-11-17 16:30 山档子 阅读(1692) 评论(0) 推荐(0) 编辑
摘要: User Profile Page - Ace Admin ... 阅读全文
posted @ 2015-11-13 17:21 山档子 阅读(585) 评论(0) 推荐(0) 编辑
摘要: $('#check_all').on('click' , function(){ alert(1); });$("#yujinlist").append(html); count++; }以上代码执行时,点击#check_all时,alert一直没反应,后在网上查资料时,才知... 阅读全文
posted @ 2015-11-13 10:47 山档子 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 打算应用的插件能随屏幕变化而变化,查资料后说在参数中加入response:true,即在chart.js 中查找“// Boolean - whether or not the chart should be responsive and resize when the browser does.”... 阅读全文
posted @ 2015-11-11 16:25 山档子 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 定义和用法split() 方法用于把一个字符串分割成字符串数组。语法stringObject.split(separator,howmany)参数 描述separator 必需。字符串或正则表达式,从该参数指定的地方分割 stringObject。howmany 可选。该参数可指定返回的数组的最大长... 阅读全文
posted @ 2015-11-10 10:29 山档子 阅读(6387) 评论(0) 推荐(0) 编辑
摘要: js将long日期格式转换为标准日期格式 阅读全文
posted @ 2015-11-10 10:17 山档子 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 根据网上查找到的typeahead使用方法,到最后一步时就出错,数据能从数据库读取出来,但在输入框显示提示时,全都显为:underfined。捉摸了半天都发现不了问题出在哪儿。后来在http://blog.64cm.com/post/2014/08/13/%E4%BD%BF%E7%94%A8boot... 阅读全文
posted @ 2015-11-04 16:52 山档子 阅读(4827) 评论(0) 推荐(0) 编辑
摘要: /**********************************************函数名:delBatchInfo功能:批量删除记录作者:milan************************************************/function delBatchInfo... 阅读全文
posted @ 2015-11-04 11:38 山档子 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 在进行的项目中需用到批量删除,删除则需用到复选框,现贴出代码以备后用。html代码如下删除勾选 编号 js$('table th input:checkbox').on('click' , function(){ var that = this; $(this).close... 阅读全文
posted @ 2015-11-04 11:05 山档子 阅读(973) 评论(0) 推荐(0) 编辑