![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jsp
奋斗小牛
这个作者很懒,什么都没留下…
展开
-
获取时间
获取当前的日期时间 格式“yyyy-MM-dd HH:MM:SS”function getNowFormatDate() { var date = new Date(); var seperator1 = “-“; var seperator2 = “:”; var month = date.getMonth() + 1; var strDate =转载 2017-08-19 09:39:01 · 288 阅读 · 0 评论 -
jsp页面直接打印table中的内容
在页面中引入<script>function doPrint() { bdhtml = window.document.body.innerHTML; sprnstr = "<!--startprint-->"; eprnstr = "<!--endprint-->";原创 2018-07-07 09:23:58 · 2406 阅读 · 0 评论 -
HTML让文字在图片上显示
HTML让文字在图片上显示的几种方法第一种方式是image 作为背景图片,即:background:url(".......");例如如下代码块:<div style="background:url('loading.gif') no-repeat;width:100px;height:50px">添加文字...添加文字...添加文字...</div>第二种方式...原创 2019-09-27 09:13:26 · 12765 阅读 · 2 评论