摘要: <div class="width" id="focus"> <ul style="left: 0px; width: 1000px;"> <li><a target="_blank" href="http://www.fyxt.cn/html/News/redianchunxiao/20120723/157.html"> <img border="0" src="http://www.fyxt.cn/uploa 阅读全文
posted @ 2012-07-27 14:08 lcuzhanglei 阅读(311) 评论(0) 推荐(0) 编辑
摘要: $(".active :hidden")带空格的选择器,表示后代选择器,选择带有样式active内的所有隐藏的子对象。$(".active:hidden")不带空格的选择器,表示筛选,选择带有样式active并且隐藏的对象。 阅读全文
posted @ 2012-07-27 14:01 lcuzhanglei 阅读(251) 评论(0) 推荐(0) 编辑
摘要: todayDate = new Date(); date = todayDate.getDate(); month= todayDate.getMonth() +1; year= todayDate.getYear(); document.write(""); if(navigator.appName == "Netscape") { document.write(1900+year); document.write("年"); document.write(month); document.write("月"); 阅读全文
posted @ 2012-07-27 13:56 lcuzhanglei 阅读(211) 评论(0) 推荐(0) 编辑
摘要: http://wenku.baidu.com/view/8cdf2d3367ec102de2bd898c.html 阅读全文
posted @ 2012-07-27 13:44 lcuzhanglei 阅读(141) 评论(0) 推荐(0) 编辑
摘要: <script> //删除cookie function delCookie(name){//为了删除指定名称的cookie,可以将其过期时间设定为一个过去的时间 var date = new Date(); date.setTime(date.getTime() - 10000); document.cookie = name + "=a; expires=" + date.toGMTString(); } //获取coookie... 阅读全文
posted @ 2012-07-27 10:54 lcuzhanglei 阅读(206) 评论(0) 推荐(0) 编辑
摘要: <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + requ 阅读全文
posted @ 2012-07-27 10:26 lcuzhanglei 阅读(750) 评论(0) 推荐(0) 编辑
摘要: jQuery.validator.addMethod("isFigure",function(value,element,param){ // 正则不能写错。 var pattern = /^([0-9]*)+$/; return this.optional(element) || (!pattern.test(value)); },"店铺名称不能为纯数字。"); // 校验表单合法性 $("#form_openstore_org").validate( { submitHandler : function(form) { form. 阅读全文
posted @ 2012-07-27 10:09 lcuzhanglei 阅读(444) 评论(0) 推荐(0) 编辑