随笔分类 -  JQ 学习

摘要:1. 阅读全文
posted @ 2018-08-03 16:27 李寒星 阅读(362) 评论(0) 推荐(0)
摘要:1.Js 的时间控制,小于初始时间,大于截止时间 <script type="text/javascript"> window.onload = GameOver; function GameOver() { var startDate = new Date("2016-10-01 00:00:00 阅读全文
posted @ 2016-09-21 10:32 李寒星 阅读(210) 评论(0) 推荐(0)
摘要:添加option $("#ID option").each(function(){ if($(this).val()==111){ $(this).remove(); } }); $("#ID option").each(function(){ if($(this).val()==111){ $(t 阅读全文
posted @ 2016-06-20 18:38 李寒星 阅读(310) 评论(0) 推荐(0)
摘要:<script type="text/javascript"> function SetTable() { $("#myTab table").each(function () { var sValue= $(this).find("tr").eq(0).find("td").eq(0).html( 阅读全文
posted @ 2016-05-31 17:13 李寒星 阅读(20570) 评论(0) 推荐(0)
摘要:媒体播放器插件: mediaelement-and-player.js 轮播图插件: swiper.min.js 阅读全文
posted @ 2016-05-03 16:38 李寒星 阅读(178) 评论(0) 推荐(0)
摘要:function PdfPrint() { bdhtml = window.document.body.innerHTML; sprnstr = "<!--startprint-->"; eprnstr = "<!--endprint-->"; prnhtml = bdhtml.substr(bdh 阅读全文
posted @ 2016-05-03 16:05 李寒星 阅读(3418) 评论(0) 推荐(0)
摘要:转载一篇例子,学习使用; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script src="ht 阅读全文
posted @ 2016-03-07 17:15 李寒星 阅读(1934) 评论(0) 推荐(0)