摘要: 常规的退出系统无非就是两种方式,一个是点击超链接,页面跳转到登录页面,另一个就是点击页面元素,触发js事件,使当前页面跳转。1、利用超链接属性中target="_parent"。在超链接中加入target属性<a href="../login/action_logout.do" target="_p 阅读全文
posted @ 2017-10-31 09:23 但为君故L 阅读(875) 评论(0) 推荐(0)
摘要: 模板 查询之前: 查询之后: jsp的<script>: $(".inp2").click(function(){ var s=$(".inp").val(); $("tr").each(function(i,x){ if($(x).children().eq(1).text().indexOf(s 阅读全文
posted @ 2017-10-20 09:36 但为君故L 阅读(1594) 评论(0) 推荐(0)
摘要: <span>标签加入 <script type="text/javascript"> $(".inp2").click(function(){ var s=$(".inp").val(); $("tr").each(function(i,x){ if($(x).children().eq(1).te 阅读全文
posted @ 2017-10-20 09:31 但为君故L 阅读(230) 评论(0) 推荐(0)
摘要: 数据库 CREATE DATABASE crmweb; CREATE TABLE `customerstatus` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '序号', `customerstatus` varchar(100) DEFAUL 阅读全文
posted @ 2017-10-19 15:54 但为君故L 阅读(188) 评论(0) 推荐(0)
摘要: jsp: servlet: /* * * 文件上传 */public class UploadServlet extends HttpServlet { /** * Constructor of the object. */ public UploadServlet() { super(); } @ 阅读全文
posted @ 2017-10-12 18:15 但为君故L 阅读(176) 评论(0) 推荐(0)
摘要: <td> <c:if test="${v.price>'15' }"> <font color="yellow">${v.price }</font> </c:if> <c:if test="${v.price<'0' }"> <font color="red">${v.price }</font> 阅读全文
posted @ 2017-10-11 12:16 但为君故L 阅读(1806) 评论(0) 推荐(0)
摘要: jsp根据某一行颜色(单选框)来其他行的颜色 <c:choose> <c:when test="${v.color=='黑色' }"> <td style="color:black">${v.name }</td> </c:when> <c:when test="${v.color=='红色' }" 阅读全文
posted @ 2017-10-11 11:47 但为君故L 阅读(753) 评论(0) 推荐(0)