- 博客(8)
- 资源 (5)
- 收藏
- 关注
原创 一些试用的sql
select id,pid,sourceid from malldiscuss m, Clubuser c where m.userid=c.userid and m.ischeck=1start with m.pid=1 connect by prior m.id=m.pid order SIBLINGS by m.id desc 树形sql查询子查询>交叉(左右连接)>
2013-08-26 16:10:45
394
原创 java网页静态化
网页静态的化好处我就不讲了, 直接上代码。 public static boolean write(String content,String path,String charset) { boolean result=false; FileOutputStream out = null; if(content==null||path==null) return resul
2013-07-23 17:58:47
754
翻译 js限制输入
1.文本框只能输入数字代码(小数点也不能输入)2.只能输入数字,能输小数点.3.数字和小数点方法二<input type=text t_value="" o_value="" onkeypress="if(!this.value.match(/^[\+\-]?\d*?\.?\d*?$/))this.value=this.t_value;else this.t_value=t
2013-07-20 10:17:55
401
原创 tomcat加载总结
1.环境变量JAVA_HOME对jdk的安装地址2.在path.;%JAVA_HOME%\bin;%JAVA_HOME%\lib;3.把war包放入webapps下来4.启动tomcat
2013-07-17 17:18:00
374
原创 select,radio 和checkbox动态自动匹配。
//初始化加载 $(function(){ $("[rootinit]").each(function(){ var $this=$(this); var _sel=$this.is("select"); var _v=$this.attr("rootinit"); if(_sel){ $this.val(_v); }els
2013-07-17 14:52:45
681
原创 jquery的 广告浮动
$(function(){ jQuery(".cmmsh").slide({ mainCell:".bd ul",effect:"leftLoop",vis:4,scroll:1,autoPlay:true}); });
2013-07-16 14:50:24
1694
1
原创 js的一下东西
怎么样得到当前访问的页面alert(window.location.href); alert(window.location); alert(location.href); alert(parent.location.href); alert(top.location.href); alert(document.location.hr
2013-07-06 17:25:35
482
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人