随笔分类 - JQ 学习
摘要:1.Js 的时间控制,小于初始时间,大于截止时间 <script type="text/javascript"> window.onload = GameOver; function GameOver() { var startDate = new Date("2016-10-01 00:00:00
阅读全文
摘要:添加option $("#ID option").each(function(){ if($(this).val()==111){ $(this).remove(); } }); $("#ID option").each(function(){ if($(this).val()==111){ $(t
阅读全文
摘要:<script type="text/javascript"> function SetTable() { $("#myTab table").each(function () { var sValue= $(this).find("tr").eq(0).find("td").eq(0).html(
阅读全文
摘要:媒体播放器插件: mediaelement-and-player.js 轮播图插件: swiper.min.js
阅读全文
摘要:function PdfPrint() { bdhtml = window.document.body.innerHTML; sprnstr = "<!--startprint-->"; eprnstr = "<!--endprint-->"; prnhtml = bdhtml.substr(bdh
阅读全文
摘要:转载一篇例子,学习使用; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script src="ht
阅读全文

浙公网安备 33010602011771号