自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(20)
  • 收藏
  • 关注

转载 input框只能输入整数

<td><input type="text" value="" onkeyup="NumberCheck(this)"/></td> function NumberCheck(t){ var num = t.value; var re=/^\d*$/; if(!re.test(...

2015-07-14 11:44:00 119

转载 实现FF背景透明,文字不透明

background:rgba(255, 255, 255, 0.8) none repeat scroll 0 0 !important;/*实现FF背景透明,文字不透明*/转载于:https://www.cnblogs.com/laohan110/p/4519571.html

2015-05-21 14:04:00 227

转载 兼容ie

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  转载于:https://www.cnblogs.com/laohan110/p/4259015.html

2015-01-29 10:25:00 86

转载 刷新当前页面

location.reload();  转载于:https://www.cnblogs.com/laohan110/p/4195467.html

2014-12-31 12:23:00 81

转载 打日志

Log::write("$i=".$i,Log::SQL);  转载于:https://www.cnblogs.com/laohan110/p/4097617.html

2014-11-14 16:29:00 69

转载 多选框

<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>复选框全选、全不选和反选的效果实现</title><SCRIPT LANGUAGE="JavaScript">&...

2014-11-08 18:17:00 63

转载 时间戳

$b= date("Y-m-d", $arr);前台{$e.add_time|date="m-d H:i",###}转载于:https://www.cnblogs.com/laohan110/p/4059192.html

2014-10-29 12:51:00 92

转载 选择第n个元素

#user_shangpin ul li:nth-child(4)  转载于:https://www.cnblogs.com/laohan110/p/4050406.html

2014-10-25 17:27:00 91

转载 商品筛选

<style> .in,.in a{background: #FA8D00;color: #fff;border-radius: 4px;} .in a:hover{color: #fff} </style><script>$(function(){ $("#user_button a:first")...

2014-10-23 15:36:00 81

转载 导航条背景设置

var curr_url = window.location.href; $('#saixuanshangpin a').each(function(i,n){ if(n == curr_url){ $(this).addClass('gonggong'); } }); */...

2014-10-23 11:54:00 157

转载 SSH添加用户

public void TianJia(Usertest u) { Session s= null; Transaction ts = null; try { s=sessionFactory.openSession(); ts=s.b...

2014-02-05 15:28:00 145

转载 多文件上传和下载

shangchuang.jsp(上传页面) <form action="${pageContext.request.contextPath}/Shang.action" method="post" enctype="multipart/form-data"> <input type="file" name="myphoto"> ...

2014-01-21 11:36:00 71

转载 spring中applicationContext.xml配置文件

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springfr...

2014-01-21 11:34:00 126

转载 获取当前项目的名称

${pageContext.request.contextPath}转载于:https://www.cnblogs.com/laohan110/p/3527415.html

2014-01-20 19:31:00 293

转载 文件上传

jsp; <body> <form action="${pageContext.request.contextPath}/Shang.action" method="post" enctype="multipart/form-data"> <input type="file" name="myphoto">...

2014-01-18 22:19:00 55

转载 bean工厂

工厂设计模式,创建分发各种bean。配置好它们之间的写作关系,参与bean的生命周期。BeanFactory factory = new XmlBeanFactory(new ClassPathResource("applicationContext.xml"));bean工厂只把bean的定义信息载进来,用到的时候才实例化。factory.getBean("...

2014-01-18 19:10:00 68

转载 过滤器

public void doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2) throws IOException, ServletException { // TODO Auto-generated method stub ...

2014-01-18 19:02:00 62

转载 hibernate入门

package com.test;import java.util.List;import org.hibernate.HibernateException;import org.hibernate.Query;import org.hibernate.Session;import org.hibernate.SessionFactory;...

2014-01-18 16:30:00 62

转载 struts2入门案例

dl.jsp;<center> <h1>用户登录</h1> <hr> <form action="<%=path %>/yz.action" method="post"> 用户名<input type="text" name="name"> 密码&...

2014-01-18 12:44:00 60

转载 第一个分派struts2实例

dl页面;<h1>用户登录</h1> <hr> <form action="<%=path %>/yz!login.action" method="post"> 用户名<input type="text" name="name"> 密码<input ty...

2014-01-18 12:35:00 72

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除